changeset 7c399ee7b433 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=7c399ee7b433
description: Fixed buggy config update to 01215
diffstat:
src/common/optparser.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (15 lines):
diff -r 4a2656a7c571 -r 7c399ee7b433 src/common/optparser.py
--- a/src/common/optparser.py Fri Feb 26 22:51:42 2010 +0100
+++ b/src/common/optparser.py Fri Mar 05 15:54:06 2010 +0200
@@ -704,9 +704,9 @@
"""
Remove hardcoded ../data/sounds from config
"""
- dirs = ('../data', gajim.gajimpaths.data_root, gajim.DATA_DIR)
+ dirs = ['../data', gajim.gajimpaths.data_root, gajim.DATA_DIR]
if os.name != 'nt':
- dirs += (os.path.expanduser(u'~/.gajim'))
+ dirs.append(os.path.expanduser(u'~/.gajim')
for evt in gajim.config.get_per('soundevents'):
path = gajim.config.get_per('soundevents', evt, 'path')
# absolute and relative passes are necessary
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits