diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2008-02-18 17:16:04 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2008-02-18 17:16:04 +0100 |
| commit | 74ce5cc9af8b9ad0e62435864b28e3c4935a0db5 (patch) | |
| tree | 691c004d321d07858cbfafb959739ec9b581cd50 /python | |
| parent | 2d4d72797cfa3dff2c14cb44b618cb2e0a6ed61f (diff) | |
| parent | 2f737cb5beecce2ee4341ebdac113aa9fd17f97d (diff) | |
| download | python-apt-74ce5cc9af8b9ad0e62435864b28e3c4935a0db5.tar.gz | |
* python/pkgrecords.cc:
- export the Homepage field
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 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; |
