summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-01-29 09:26:03 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2009-01-29 09:26:03 +0100
commit5cbf0b5807b4cc67818eae652b59a25d52eb9f7b (patch)
tree7a2d82984acf2cfae0d874927ffd58c361afc900 /python/apt_pkgmodule.cc
parent33522c90ad814bc03643fd3bea435315831a8c7f (diff)
downloadpython-apt-5cbf0b5807b4cc67818eae652b59a25d52eb9f7b.tar.gz
* apt/cache.py:
- when setting a alternative rootdir, read the config from it as well * 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},