package: debsecan
version: 0.4.14
severity: serious
tag: patch
VersionCompare is no longer available in python-apt as of version 0.8
which is now in unstable, so debsecan always crashes. here is a patch
that fixes that.
best wishes,
mike
--- debsecan 2010-03-07 10:52:24.000000000 -0500
+++ /usr/bin/debsecan 2011-05-29 19:30:28.000000000 -0400
@@ -89,7 +89,7 @@
return 'Version(%s)' % `self.__asString`
def __cmp__(self, other):
- return apt_pkg.VersionCompare(self.__asString, other.__asString)
+ return version_compare(self.__asString, other.__asString)
class PackageFile:
"""A Debian package file.