summaryrefslogtreecommitdiffstats
path: root/pyload/cli
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-18 00:29:55 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-18 00:29:55 +0200
commitbb5a115533711fd8bb87f53cb32ff7342137208d (patch)
tree476600f9896fae029880e4049eb4c5e6021b202d /pyload/cli
parentPEP-8, Python Zen, refactor and reduce code (part 6 in master module/common) (diff)
downloadpyload-bb5a115533711fd8bb87f53cb32ff7342137208d.tar.xz
Spare code cosmetics (5)
Diffstat (limited to 'pyload/cli')
-rw-r--r--pyload/cli/Cli.py3
-rw-r--r--pyload/cli/ManageFiles.py4
2 files changed, 4 insertions, 3 deletions
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