]> git.decadent.org.uk Git - dak.git/blobdiff - daklib/utils.py
which_conf_file
[dak.git] / daklib / utils.py
index cb7efbea9c313767f5b98923bd89efdfce4bca04..01ed2ede03e0ef281a2261813c0a2c943732d4d2 100755 (executable)
@@ -750,7 +750,7 @@ def which_conf_file ():
         homedir = os.getenv("HOME")
         confpath = os.path.join(homedir, "/etc/dak.conf")
         if os.path.exists(confpath):
-            return confpath
+            apt_pkg.ReadConfigFileISC(Cnf,default_config)
 
     # We are still in here, so there is no local config file or we do
     # not allow local files. Do the normal stuff.