summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-03-25 10:11:49 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2010-03-25 10:11:49 +0100
commit297db34c7dc14dbf7b698bece3afb596848b4271 (patch)
tree149096fe0c2819f13f38950752c14209a1fda202
parentebe8d4f966ed1ac8f51f6372865f9a65a2fcb88b (diff)
parent57624b5df523c0b3a3ebc1741680f283ee1fbbcd (diff)
downloadpython-apt-297db34c7dc14dbf7b698bece3afb596848b4271.tar.gz
* python/indexfile.cc:
- add missing 0.7 compat indexfile.ArchiveURI method (LP: #545848)
-rw-r--r--debian/changelog8
-rw-r--r--python/indexfile.cc3
2 files changed, 11 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 192e3c4e..7114e32a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python-apt (0.7.94.2ubuntu2) lucid; urgency=low
+
+ * python/indexfile.cc:
+ - add missing 0.7 compat indexfile.ArchiveURI method
+ (LP: #545848)
+
+ -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 23 Mar 2010 16:03:50 +0100
+
python-apt (0.7.94.2ubuntu1) lucid; urgency=low
Updated to the 0.7.9x series (FFe LP: #531518), this
diff --git a/python/indexfile.cc b/python/indexfile.cc
index c6d0b1cc..5e66b06a 100644
--- a/python/indexfile.cc
+++ b/python/indexfile.cc
@@ -28,6 +28,9 @@ static PyObject *IndexFileArchiveURI(PyObject *Self,PyObject *Args)
static PyMethodDef IndexFileMethods[] =
{
{"archive_uri",IndexFileArchiveURI,METH_VARARGS,"Returns the ArchiveURI"},
+#ifdef COMPAT_0_7
+ {"ArchiveURI",IndexFileArchiveURI,METH_VARARGS,"Returns the ArchiveURI"},
+#endif
{}
};