diff options
| author | egon <egon@debian-vm> | 2008-07-22 10:33:17 +0200 |
|---|---|---|
| committer | egon <egon@debian-vm> | 2008-07-22 10:33:17 +0200 |
| commit | 44d1746f2dd6c055f340f9368d6411a9b6170150 (patch) | |
| tree | 3343be5f155eab1c36b33347f9a413e6b94f6bd5 /python/pkgsrcrecords.cc | |
| parent | dad1fa9e646f048542c4a602be5e4bc1366c5b2a (diff) | |
| parent | 5d8dd13ab3d1e6845a061a4d5b871dda87ab4753 (diff) | |
| download | python-apt-44d1746f2dd6c055f340f9368d6411a9b6170150.tar.gz | |
* data/templates/Debian.info.in:
- s/MatchUri/MatchURI/. Thanks, Gustavo Noronha Silva (closes: #487673)
* python/cache.cc:
- Throw an exception rather than segfaulting when GetCache() is called
before InitSystem() (closes: #369147)
* doc/examples/config.py:
- Fix config.py --help (closes: #257007)
* apt/package.py:
- add "isAutoRemovable()" method
* python/pkgsrcrecords.cc:
- add "Record" attribute to the PkgSrcRecord to access the
full source record
* debian/rules:
- remove the arch-build target, we have bzr-builddeb now
Diffstat (limited to 'python/pkgsrcrecords.cc')
| -rw-r--r-- | python/pkgsrcrecords.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/pkgsrcrecords.cc b/python/pkgsrcrecords.cc index 5e04f5fc..c698a925 100644 --- a/python/pkgsrcrecords.cc +++ b/python/pkgsrcrecords.cc @@ -89,6 +89,8 @@ static PyObject *PkgSrcRecordsAttr(PyObject *Self,char *Name) return CppPyString(Struct.Last->Maintainer()); else if (strcmp("Section",Name) == 0) return CppPyString(Struct.Last->Section()); + else if (strcmp("Record",Name) == 0) + return CppPyString(Struct.Last->AsStr()); else if (strcmp("Binaries",Name) == 0) { PyObject *List = PyList_New(0); |
