mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-10 08:39:15 +00:00
Reformat updater.py and utils.py to match pycodestyle
This commit is contained in:
@@ -281,7 +281,8 @@ class Updater:
|
||||
for ignore in self.ignores:
|
||||
for name in names:
|
||||
path = os.path.join(src, name)
|
||||
if ignore.startswith('!') and fnmatch.fnmatch(path, ignore[1:]):
|
||||
if ignore.startswith('!') and \
|
||||
fnmatch.fnmatch(path, ignore[1:]):
|
||||
# add to whitelist
|
||||
whitelist.add(name)
|
||||
elif fnmatch.fnmatch(path, ignore):
|
||||
|
||||
Reference in New Issue
Block a user