[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#580036: 1 vs 1-0 version comparison gives wrong result



Package: python-apt
Version: 0.7.94.2

$ python -c 'import apt_pkg; apt_pkg.init(); print apt_pkg.VersionCompare("1", "1-0")'
-1

This should print 0 because the versions are equal, according to
policy and dpkg.



Reply to: