Mercurial > hg > silvermirror
changeset 43:436d8e5ea294
python3
| author | Jeff Hammel <k0scist@gmail.com> | 
|---|---|
| date | Sat, 24 Apr 2021 15:07:58 -0700 | 
| parents | 7d28efc8dfa1 | 
| children | e8752ce07aa0 | 
| files | silvermirror/unify.py | 
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] | 
line wrap: on
 line diff
--- a/silvermirror/unify.py Thu Feb 23 09:35:11 2017 -0800 +++ b/silvermirror/unify.py Sat Apr 24 15:07:58 2021 -0700 @@ -59,7 +59,7 @@ # XXX regexps for now (see `man unison`) # - this is bad as whitespace patterns cannot be ignored ignore = main['ignore'][:] - if config[resource].has_key('ignore'): + if 'ignore' in config[resource]: ignore += config[resource]['ignore'].split() config[resource]['ignore'] = ignore
