summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog34
-rw-r--r--python/pkgrecords.cc2
2 files changed, 36 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index c864bf48..f8a859e4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,37 @@
+python-apt (0.6.20ubuntu1) feisty; urgency=low
+
+ * merged from debian
+
+ -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 19 Dec 2006 13:41:32 +0100
+
+python-apt (0.6.20) unstable; 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.
+ * apt/progress.cc:
+ - protect against not-parsable strings send from dpkg (lp: 68553)
+ * python/pkgmanager.cc:
+ - fix typo (closes: #382853)
+ * debian/control:
+ - tightend dependency (closes: #383478)
+ * apt/progress.py:
+ - use os._exit() in the child (lp: #53298)
+ - use select() when checking for statusfd (lp: #53282)
+ * acknoledge NMU (closes: #378048, #373512)
+ * python/apt_pkgmodule.cc:
+ - fix missing docstring (closes: #368907),
+ Thanks to Josh Triplett
+ * make it build against python2.5
+ * python/progress.cc:
+ - fix memleak (lp: #43096)
+
+ -- Michael Vogt <mvo@debian.org> Tue, 19 Dec 2006 13:32:11 +0100
+
python-apt (0.6.19ubuntu9.1) edgy-updates; urgency=low
* protect against not-parsable strings send from dpkg (lp: 68553)
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)