more readability for return
This commit is contained in:
@@ -160,7 +160,7 @@ class HostRSync(execnet.RSync):
|
|||||||
for x in self._ignores:
|
for x in self._ignores:
|
||||||
x = getattr(x, 'strpath', x)
|
x = getattr(x, 'strpath', x)
|
||||||
if fnmatch.fnmatch(path.basename, x) or fnmatch.fnmatch(path.strpath, x):
|
if fnmatch.fnmatch(path.basename, x) or fnmatch.fnmatch(path.strpath, x):
|
||||||
break
|
return False
|
||||||
else:
|
else:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user