opnsense-ports/devel/pybugz/files/patch-bugz__configfile.py
Franco Fichtner 6133f2cca3 */*: sync with upstream
Taken from: FreeBSD
2016-03-17 08:11:52 +01:00

11 lines
538 B
Python

--- 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: