change config separator to whitespace

This commit is contained in:
Tomas Kopecek 2017-03-28 16:06:55 +02:00 committed by Mike McLean
parent 78a87f725e
commit 3b82594a32
3 changed files with 4 additions and 4 deletions

View file

@ -2,4 +2,4 @@
volume = DEFAULT
[filters]
paths = */tmp/krb5cc:*/etc/*.keytab
paths = */tmp/krb5cc */etc/*.keytab

View file

@ -27,7 +27,7 @@ def read_config():
'volume': None,
}
if cp.has_option('filters', 'paths'):
config['path_filters'] = cp.get('filters', 'paths').split(':')
config['path_filters'] = cp.get('filters', 'paths').split()
if cp.has_option('general', 'volume'):
config['volume'] = cp.get('general', 'volume').strip()