From bb5a115533711fd8bb87f53cb32ff7342137208d Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 18 Apr 2015 00:29:55 +0200 Subject: Spare code cosmetics (5) --- pyload/cli/Cli.py | 3 ++- pyload/cli/ManageFiles.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'pyload/cli') diff --git a/pyload/cli/Cli.py b/pyload/cli/Cli.py index a5348a776..84725b625 100644 --- a/pyload/cli/Cli.py +++ b/pyload/cli/Cli.py @@ -366,7 +366,8 @@ class Cli(object): print "%-45s %-12s\t %-15s\t %s" % (status.name, formatSize(status.size), status.plugin, check) - if result.rid == -1: break + if result.rid == -1: + break class RefreshThread(Thread): diff --git a/pyload/cli/ManageFiles.py b/pyload/cli/ManageFiles.py index b95e6f2db..c010895c5 100644 --- a/pyload/cli/ManageFiles.py +++ b/pyload/cli/ManageFiles.py @@ -113,7 +113,7 @@ class ManageFiles(Handler): i += 1 except Exception: pass - for _ in range(5 - i): + for _i in range(5 - i): println(line, "") line += 1 else: @@ -128,7 +128,7 @@ class ManageFiles(Handler): i += 1 except Exception, e: pass - for _ in range(5 - i): + for _i in range(5 - i): println(line, "") line += 1 -- cgit v1.2.3