Commit ef6af8ec authored by Michel Blockelet's avatar Michel Blockelet

Correction dans la generation des index des paquets

darcs-hash:20080701022043-ddb99-b5308c1f010084e836dfc2d60e5580a76f356fe5.gz
parent 459c0b4c
......@@ -32,7 +32,7 @@ ver = {}
for line in sys.stdin:
[name, new_ver] = line.split()
old_ver = ver.get(name, None)
if not old_ver or apt_pkg.VersionCompare(new_ver, old_ver) == 1:
if not old_ver or apt_pkg.VersionCompare(new_ver, old_ver) > 0:
ver[name] = new_ver
list = ver.items()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment