summaryrefslogtreecommitdiff
path: root/python/pkgrecords.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/pkgrecords.cc')
-rw-r--r--python/pkgrecords.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/pkgrecords.cc b/python/pkgrecords.cc
index 48440387..212e4ab0 100644
--- a/python/pkgrecords.cc
+++ b/python/pkgrecords.cc
@@ -120,7 +120,7 @@ static PyObject *PkgRecordsGetRecord(PyObject *Self,void*) {
return PyString_FromStringAndSize(start,stop-start);
}
static PyGetSetDef PkgRecordsGetSet[] = {
- {"file_name",PkgRecordsGetFileName},
+ {"filename",PkgRecordsGetFileName},
{"homepage",PkgRecordsGetHomepage},
{"long_desc",PkgRecordsGetLongDesc},
{"md5_hash",PkgRecordsGetMD5Hash},