summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog1
-rw-r--r--python/configuration.cc6
2 files changed, 7 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index c4486505..3209f7ee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,7 @@ python-apt (0.7.92) UNRELEASED; urgency=low
* Merge 0.7.10.4 from unstable
* debian/control: Update Standards-Version to 3.8.2
* Make AcquireFile a subclass of AcquireItem
+ * Make ConfigurationPtr,ConfigurationSub subclasses of Configuration.
[ Sebastian Heinlein ]
* apt/progress.py: Extract the package name from the status message
diff --git a/python/configuration.cc b/python/configuration.cc
index 365a35fd..9ef5967b 100644
--- a/python/configuration.cc
+++ b/python/configuration.cc
@@ -582,6 +582,9 @@ PyTypeObject ConfigurationPtrType =
0, // tp_iter
0, // tp_iternext
CnfMethods, // tp_methods
+ 0, // tp_members
+ 0, // tp_getset
+ &ConfigurationType, // tp_base
};
PyTypeObject ConfigurationSubType =
@@ -618,5 +621,8 @@ PyTypeObject ConfigurationSubType =
0, // tp_iter
0, // tp_iternext
CnfMethods, // tp_methods
+ 0, // tp_members
+ 0, // tp_getset
+ &ConfigurationType, // tp_base
};