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 /python/pkgrecords.cc | |
| parent | 4ae6dbf9a654189b1f07e8056fff9a3b877a6e2d (diff) | |
| download | python-apt-3c393390f10b5ecfb3891fb89f199e2610d9246e.tar.gz | |
* python/pkgrecords.cc:
- export SHA1Sum() as well
* debian/changelog:
- updated
Diffstat (limited to 'python/pkgrecords.cc')
| -rw-r--r-- | python/pkgrecords.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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) |
