From a3fac52e85401c57c05ea387eae72a8206558f41 Mon Sep 17 00:00:00 2001 From: Anatoly Bubenkov Date: Thu, 5 Dec 2013 23:22:49 +0100 Subject: [PATCH] more readability for return --- xdist/slavemanage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xdist/slavemanage.py b/xdist/slavemanage.py index 23cabd9..37071d3 100644 --- a/xdist/slavemanage.py +++ b/xdist/slavemanage.py @@ -160,7 +160,7 @@ class HostRSync(execnet.RSync): for x in self._ignores: x = getattr(x, 'strpath', x) if fnmatch.fnmatch(path.basename, x) or fnmatch.fnmatch(path.strpath, x): - break + return False else: return True