merge with mainline

This commit is contained in:
Anatoly Bubenkov
2013-12-06 10:20:03 +01:00

View File

@@ -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