diff options
| author | Michael Vogt <egon@bottom> | 2007-05-23 09:52:05 +0200 |
|---|---|---|
| committer | Michael Vogt <egon@bottom> | 2007-05-23 09:52:05 +0200 |
| commit | 3b02b5265d12a39a5ee459f15f9568208db7fc6d (patch) | |
| tree | 864503a799a8b583e895ba5f8d3e4e8b53da060c /python | |
| parent | 7d1c68e32c645b0485ebca56e56193d2c7528dd7 (diff) | |
| parent | be05af84c65c7d4bae3cbd949304b9dd7020054f (diff) | |
| download | python-apt-3b02b5265d12a39a5ee459f15f9568208db7fc6d.tar.gz | |
* python/pkgrecords.cc:
- added SourceVer
Diffstat (limited to 'python')
| -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 4a5556f2..466a2f30 100644 --- a/python/pkgrecords.cc +++ b/python/pkgrecords.cc @@ -67,6 +67,8 @@ static PyObject *PkgRecordsAttr(PyObject *Self,char *Name) return CppPyString(Struct.Last->SHA1Hash()); else if (strcmp("SourcePkg",Name) == 0) return CppPyString(Struct.Last->SourcePkg()); + else if (strcmp("SourceVer",Name) == 0) + return CppPyString(Struct.Last->SourceVer()); else if (strcmp("Maintainer",Name) == 0) return CppPyString(Struct.Last->Maintainer()); else if (strcmp("ShortDesc",Name) == 0) |
