summaryrefslogtreecommitdiff
path: root/devel/pybugz/files/patch-bugz__configfile.py
blob: db62862d51084ced88f071a4a5b60bd4a9589ca6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- bugz/configfile.py.orig	2015-09-20 16:13:33 UTC
+++ bugz/configfile.py
@@ -9,7 +9,7 @@ from bugz.log import log_error
 def load_config(UserConfig=None):
     parser = configparser.ConfigParser(default_section='default')
     DefaultConfigs = sorted(glob.glob(sys.prefix + '/share/pybugz.d/*.conf'))
-    SystemConfigs = sorted(glob.glob('/etc/pybugz.d/*.conf'))
+    SystemConfigs = sorted(glob.glob(sys.prefix + '/etc/pybugz.d/*.conf'))
     if UserConfig is not None:
         UserConfig = os.path.expanduser(UserConfig)
     else: