diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-04-14 22:14:10 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-04-14 22:14:10 +0200 |
| commit | 3caa05aa8e295d338be4bfbe7fdd2e825a59d947 (patch) | |
| tree | a2fc7347820381351123bcc5b6a61f2238cc825f /python/apt_pkgmodule.h | |
| parent | 444b2afea3b58cc55fbf4b9deb6d20c4475c8fef (diff) | |
| download | python-apt-3caa05aa8e295d338be4bfbe7fdd2e825a59d947.tar.gz | |
* python/pkgsrcrecords.cc: Use GetSet properties for PkgSrcRecordsType
This time, it is a bit more complicated because we have to raise an
AttributeError when no package has been looked up.
Diffstat (limited to 'python/apt_pkgmodule.h')
| -rw-r--r-- | python/apt_pkgmodule.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/apt_pkgmodule.h b/python/apt_pkgmodule.h index ea8e33df..d2631864 100644 --- a/python/apt_pkgmodule.h +++ b/python/apt_pkgmodule.h @@ -89,6 +89,7 @@ PyObject *GetPkgManager(PyObject *Self,PyObject *Args); // PkgRecords Stuff extern PyTypeObject PkgRecordsType; +extern PyTypeObject PkgSrcRecordsType; PyObject *GetPkgRecords(PyObject *Self,PyObject *Args); PyObject *GetPkgSrcRecords(PyObject *Self,PyObject *Args); |
