diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2007-06-14 12:14:39 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2007-06-14 12:14:39 +0200 |
| commit | da5b9bcdf772358322d4e05a46cf6eb843d9afaa (patch) | |
| tree | a3d11a935373265a8829494b7792654dfdf90e3a /python/pkgrecords.cc | |
| parent | 88889f46c025f759836edaf7396c45d7416e0a59 (diff) | |
| parent | 204ba672314d9ed07ca76770a32a6af5fbd67c25 (diff) | |
| download | python-apt-da5b9bcdf772358322d4e05a46cf6eb843d9afaa.tar.gz | |
* merged from debian/unstable
* Remaining changes:
- data/templates/Ubuntu.info: gutsy repository information
- set Maintainer field to ubuntu
* build against the new apt
* support for new "aptsources" pythn module
(thanks to Sebastian Heinlein)
* merged support for translated package descriptions
* merged support for automatic removal of unused dependencies
* merged http://glatzor.de/bzr/python-apt/sebi:
- this means that the new aptsources modules is available
* support translated pacakge descriptions
* support automatic dependency information
* python/apt_pkgmodule.cc:
- added pkgCache::State::PkgCurrentState enums
* python/pkgrecords.cc:
- added SourceVer
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 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) |
