diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2008-02-11 10:19:28 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2008-02-11 10:19:28 +0100 |
| commit | 8295c8e578cb08ac3fe190658c031d5c8ac7b95b (patch) | |
| tree | de1a840ba1607646116049e54a36de95a80a0790 /python/pkgrecords.cc | |
| parent | fd183f637afc8786991782d2135f8885c8490fc2 (diff) | |
| download | python-apt-8295c8e578cb08ac3fe190658c031d5c8ac7b95b.tar.gz | |
* python/pkgrecords.cc:
- export the Homepage field
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 466a2f30..93bc54d9 100644 --- a/python/pkgrecords.cc +++ b/python/pkgrecords.cc @@ -77,6 +77,8 @@ static PyObject *PkgRecordsAttr(PyObject *Self,char *Name) return CppPyString(Struct.Last->LongDesc()); else if (strcmp("Name",Name) == 0) return CppPyString(Struct.Last->Name()); + else if (strcmp("Homepage",Name) == 0) + return CppPyString(Struct.Last->Homepage()); else if (strcmp("Record", Name) == 0) { const char *start, *stop; |
