summaryrefslogtreecommitdiff
path: root/python/pkgsrcrecords.cc
diff options
context:
space:
mode:
authorBen Finney <ben+debian@benfinney.id.au>2008-08-08 10:08:50 +1000
committerBen Finney <ben+debian@benfinney.id.au>2008-08-08 10:08:50 +1000
commit7b14352c54b7acbf2a68240fa960e188c6e8742a (patch)
tree48db4bb809d90743bdb7f6a6e3a429f83465d729 /python/pkgsrcrecords.cc
parent08fa9a44bc90b88f05cd8aa14d50892fadda9049 (diff)
parent44d1746f2dd6c055f340f9368d6411a9b6170150 (diff)
downloadpython-apt-7b14352c54b7acbf2a68240fa960e188c6e8742a.tar.gz
Fix whitespace in changes from 0.7.7.
Diffstat (limited to 'python/pkgsrcrecords.cc')
-rw-r--r--python/pkgsrcrecords.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/pkgsrcrecords.cc b/python/pkgsrcrecords.cc
index 1a52e8f1..f7f5d7a2 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);