diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-03-25 10:11:49 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-03-25 10:11:49 +0100 |
| commit | 297db34c7dc14dbf7b698bece3afb596848b4271 (patch) | |
| tree | 149096fe0c2819f13f38950752c14209a1fda202 /python | |
| parent | ebe8d4f966ed1ac8f51f6372865f9a65a2fcb88b (diff) | |
| parent | 57624b5df523c0b3a3ebc1741680f283ee1fbbcd (diff) | |
| download | python-apt-297db34c7dc14dbf7b698bece3afb596848b4271.tar.gz | |
* python/indexfile.cc:
- add missing 0.7 compat indexfile.ArchiveURI method
(LP: #545848)
Diffstat (limited to 'python')
| -rw-r--r-- | python/indexfile.cc | 3 |
1 files changed, 3 insertions, 0 deletions
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 {} }; |
