Changeset 73

Show
Ignore:
Timestamp:
06/23/06 09:05:48 (2 years ago)
Author:
mk
Message:

PyPI index: Penalize for PyPI distance > 1.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/mk/cheesecake/cheesecake_index.py

    r71 r73  
    420420 
    421421            if not found_on_cheeseshop: 
    422                 self.value += distance_from_pypi * self.distance_penalty 
     422                self.value += (distance_from_pypi - 1) * self.distance_penalty 
    423423 
    424424                if distance_from_pypi: