[dak/master] fix reading $HOME/etc/dak/dak.conf
Previously the default_config would get loaded twice if $HOME/etc/dak/dak.conf
was found.
Signed-off-by: Arnd Hannemann <arnd@arndnet.de>
---
daklib/utils.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/daklib/utils.py b/daklib/utils.py
index 9afd420..38a987f 100755
--- a/daklib/utils.py
+++ b/daklib/utils.py
@@ -765,7 +765,7 @@ def which_conf_file ():
homedir = os.getenv("HOME")
confpath = os.path.join(homedir, "/etc/dak.conf")
if os.path.exists(confpath):
- apt_pkg.ReadConfigFileISC(Cnf,default_config)
+ apt_pkg.ReadConfigFileISC(Cnf,confpath)
# We are still in here, so there is no local config file or we do
# not allow local files. Do the normal stuff.
--
1.7.2.5
Reply to: