summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/indexfile.cc3
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
{}
};