From be05af84c65c7d4bae3cbd949304b9dd7020054f Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 23 May 2007 09:43:45 +0200 Subject: * python/pkgrecords.cc: - added SourceVer --- python/pkgrecords.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python/pkgrecords.cc') diff --git a/python/pkgrecords.cc b/python/pkgrecords.cc index 4a5556f2..466a2f30 100644 --- a/python/pkgrecords.cc +++ b/python/pkgrecords.cc @@ -67,6 +67,8 @@ static PyObject *PkgRecordsAttr(PyObject *Self,char *Name) return CppPyString(Struct.Last->SHA1Hash()); else if (strcmp("SourcePkg",Name) == 0) return CppPyString(Struct.Last->SourcePkg()); + else if (strcmp("SourceVer",Name) == 0) + return CppPyString(Struct.Last->SourceVer()); else if (strcmp("Maintainer",Name) == 0) return CppPyString(Struct.Last->Maintainer()); else if (strcmp("ShortDesc",Name) == 0) -- cgit v1.2.3