summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-06-08 17:47:46 +0200
committerJulian Andres Klode <jak@debian.org>2009-06-08 17:47:46 +0200
commit33293ab8c53a9b1427012c297f288972e11ea3bb (patch)
treeb5ae92908a8dd9fa2c9f5e1a25fbaf97d9974ae1 /python/apt_pkgmodule.cc
parent1040f7f6ec9cf689d6530827348a63daad52b3ef (diff)
downloadpython-apt-33293ab8c53a9b1427012c297f288972e11ea3bb.tar.gz
Add apt_pkg.HashString and apt_pkg.IndexRecords (Closes: #456141)
Diffstat (limited to 'python/apt_pkgmodule.cc')
-rw-r--r--python/apt_pkgmodule.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/apt_pkgmodule.cc b/python/apt_pkgmodule.cc
index 4ad4e56c..085d12f4 100644
--- a/python/apt_pkgmodule.cc
+++ b/python/apt_pkgmodule.cc
@@ -603,6 +603,8 @@ extern "C" void initapt_pkg()
ADDTYPE(Module,"SourceRecords",&PkgSrcRecordsType);
/* ========================= sourcelist.cc ========================= */
ADDTYPE(Module,"SourceList",&PkgSourceListType);
+ ADDTYPE(Module,"IndexRecords",&PyIndexRecords_Type);
+ ADDTYPE(Module,"HashString",&PyHashString_Type);
// Tag file constants
PyModule_AddObject(Module,"REWRITE_PACKAGE_ORDER",
CharCharToList(TFRewritePackageOrder));