diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-12-19 11:46:28 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-12-19 11:46:28 +0100 |
| commit | 3c393390f10b5ecfb3891fb89f199e2610d9246e (patch) | |
| tree | 2a177ce3a53148b99741d2ba909f9d7e6015c440 | |
| parent | 4ae6dbf9a654189b1f07e8056fff9a3b877a6e2d (diff) | |
| download | python-apt-3c393390f10b5ecfb3891fb89f199e2610d9246e.tar.gz | |
* python/pkgrecords.cc:
- export SHA1Sum() as well
* debian/changelog:
- updated
| -rw-r--r-- | debian/changelog | 9 | ||||
| -rw-r--r-- | python/pkgrecords.cc | 2 |
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) |
