summaryrefslogtreecommitdiff
path: root/python/metaindex.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-03-12 11:42:37 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2010-03-12 11:42:37 +0100
commit85238ea03cd35b48a90a2fc1f63f2cf05d5b83b4 (patch)
treebb7fcce7e80cc45e807eab19a3c36f628c888bd3 /python/metaindex.cc
parent62a7342edb16c38e3d646cc731a4a50ad6657b4f (diff)
parentc657b7a2a59e15a0c415ba94021c4de547a78e60 (diff)
downloadpython-apt-85238ea03cd35b48a90a2fc1f63f2cf05d5b83b4.tar.gz
merged from debian-sid
Diffstat (limited to 'python/metaindex.cc')
-rw-r--r--python/metaindex.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/python/metaindex.cc b/python/metaindex.cc
index dee54521..2dcade7d 100644
--- a/python/metaindex.cc
+++ b/python/metaindex.cc
@@ -52,12 +52,6 @@ static PyGetSetDef MetaIndexGetSet[] = {
{"index_files",MetaIndexGetIndexFiles},
{"is_trusted",MetaIndexGetIsTrusted},
{"uri",MetaIndexGetURI},
- #ifdef COMPAT_0_7
- {"Dist",MetaIndexGetDist},
- {"IndexFiles",MetaIndexGetIndexFiles},
- {"IsTrusted",MetaIndexGetIsTrusted},
- {"URI",MetaIndexGetURI},
- #endif
{}
};
@@ -91,7 +85,7 @@ PyTypeObject PyMetaIndex_Type =
0, // tp_hash
0, // tp_call
0, // tp_str
- 0, // tp_getattro
+ _PyAptObject_getattro, // tp_getattro
0, // tp_setattro
0, // tp_as_buffer
Py_TPFLAGS_DEFAULT, // tp_flags