1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-19 11:40:31 -04:00
ports/devel/pybugz/files/patch-bugz__configfile.py
Jan Beich b2dc14fb64 devel/pybugz: update to 0.12.1
- Fix manpage and extra config paths

PR:		208061
Approved by:	crees (maintainer)
2016-03-16 16:44:15 +00: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: