summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog9
-rw-r--r--python/pkgrecords.cc2
2 files changed, 8 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index 9451428c..6b52ff44 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,13 +1,16 @@
-python-apt (0.6.21) unstable; urgency=low
+python-apt (0.6.21) UNRELEASED; urgency=low
* python/generic.h:
- fix incorrect use of PyMem_DEL(), use pyObject_DEL()
instead. This fixes a nasty segfault with python2.5
(lp: 63226)
+ * python/pkgrecords.cc:
+ - export SHA1Hash() as well
* debian/rules: Remove dh_python call.
- * protect against not-parsable strings send from dpkg (lp: 68553)
+ * apt/progress.cc:
+ - protect against not-parsable strings send from dpkg (lp: 68553)
- --
+ -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 19 Dec 2006 11:34:59 +0100
python-apt (0.6.20) unstable; urgency=low
diff --git a/python/pkgrecords.cc b/python/pkgrecords.cc
index ec78f554..4a5556f2 100644
--- a/python/pkgrecords.cc
+++ b/python/pkgrecords.cc
@@ -63,6 +63,8 @@ static PyObject *PkgRecordsAttr(PyObject *Self,char *Name)
return CppPyString(Struct.Last->FileName());
else if (strcmp("MD5Hash",Name) == 0)
return CppPyString(Struct.Last->MD5Hash());
+ else if (strcmp("SHA1Hash",Name) == 0)
+ return CppPyString(Struct.Last->SHA1Hash());
else if (strcmp("SourcePkg",Name) == 0)
return CppPyString(Struct.Last->SourcePkg());
else if (strcmp("Maintainer",Name) == 0)