summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-01-29 09:41:28 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2009-01-29 09:41:28 +0100
commit6715b1ef7d4aad36a400b1d8629e6fe529c4232c (patch)
tree4d7c218da4b1b4ae78406c890e83ca0380cc8c00 /python/apt_pkgmodule.cc
parent40bf122a63ddbe0b99810c13c5676e871964de33 (diff)
parent5cbf0b5807b4cc67818eae652b59a25d52eb9f7b (diff)
downloadpython-apt-6715b1ef7d4aad36a400b1d8629e6fe529c4232c.tar.gz
* apt/cache.py:
- when setting a alternative rootdir, read the config from it as well (LP: #243550) * python/configuration.cc, python/apt_pkgmodule.cc: - add apt_pkg.ReadConfigDir()
Diffstat (limited to 'python/apt_pkgmodule.cc')
-rw-r--r--python/apt_pkgmodule.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/apt_pkgmodule.cc b/python/apt_pkgmodule.cc
index 2e488d58..86732781 100644
--- a/python/apt_pkgmodule.cc
+++ b/python/apt_pkgmodule.cc
@@ -402,6 +402,7 @@ static PyMethodDef methods[] =
// Command line
{"ReadConfigFile",LoadConfig,METH_VARARGS,doc_LoadConfig},
+ {"ReadConfigDir",LoadConfigDir,METH_VARARGS,doc_LoadConfigDir},
{"ReadConfigFileISC",LoadConfigISC,METH_VARARGS,doc_LoadConfig},
{"ParseCommandLine",ParseCommandLine,METH_VARARGS,doc_ParseCommandLine},