From bfc889d29afdd902b5df30336ff73e484a3592fc Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Thu, 18 Jun 2015 18:05:09 +0200 Subject: fix prospector code smells --- libpathod/language/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpathod/language/__init__.py') diff --git a/libpathod/language/__init__.py b/libpathod/language/__init__.py index 10050bf8..4b06f7e4 100644 --- a/libpathod/language/__init__.py +++ b/libpathod/language/__init__.py @@ -13,7 +13,7 @@ assert Settings # prevent pyflakes from messing with this def expand(msg): times = getattr(msg, "times", None) if times: - for j in xrange(int(times.value)): + for j_ in xrange(int(times.value)): yield msg.strike_token("times") else: yield msg -- cgit v1.2.3