summaryrefslogtreecommitdiff
path: root/python/indexfile.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-04-19 15:17:32 +0200
committerJulian Andres Klode <jak@debian.org>2009-04-19 15:17:32 +0200
commit45cdd4f2c6b04bfdfd37ef0e1a6358b29680afb8 (patch)
treeabe54ecca53fa226b4fd354a8b5f5e4224d47b50 /python/indexfile.cc
parent6472bb377c1effbf2b9a17188e5e057acdf9d195 (diff)
downloadpython-apt-45cdd4f2c6b04bfdfd37ef0e1a6358b29680afb8.tar.gz
* python/*.cc: Export all types and add a __new__() method to them.
Some names may be changed before the release, but this is a good draft.
Diffstat (limited to 'python/indexfile.cc')
-rw-r--r--python/indexfile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/indexfile.cc b/python/indexfile.cc
index bb40cdd0..600dc853 100644
--- a/python/indexfile.cc
+++ b/python/indexfile.cc
@@ -84,7 +84,7 @@ PyTypeObject PackageIndexFileType =
#if PY_MAJOR_VERSION < 3
0, // ob_size
#endif
- "pkgIndexFile", // tp_name
+ "apt_pkg.PackageIndexFile", // tp_name
sizeof(CppOwnedPyObject<pkgIndexFile*>), // tp_basicsize
0, // tp_itemsize
// Methods