summaryrefslogtreecommitdiffstats
path: root/pyLoadCli.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-11 21:04:48 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-11 21:04:48 +0200
commitecadad99f03e33d4672e9ac2d5d1dca0d541b983 (patch)
tree65ac2f5a94cc50d8ef8044b6cb1616937105d2b9 /pyLoadCli.py
parentfixes (diff)
downloadpyload-ecadad99f03e33d4672e9ac2d5d1dca0d541b983.tar.xz
jeixs irc interface, cleaned some code
Diffstat (limited to 'pyLoadCli.py')
-rwxr-xr-xpyLoadCli.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyLoadCli.py b/pyLoadCli.py
index 5105599cd..36ab0c4f7 100755
--- a/pyLoadCli.py
+++ b/pyLoadCli.py
@@ -20,6 +20,7 @@
from getopt import GetoptError
from getopt import getopt
import gettext
+from itertools import islice
import os
import os.path
from os.path import join
@@ -29,10 +30,8 @@ import threading
import time
from time import sleep
import xmlrpclib
-from itertools import islice
from module import InitHomeDir
-
from module.ConfigParser import ConfigParser
if sys.stdout.encoding.lower().startswith("utf"):
@@ -220,7 +219,7 @@ class pyLoadCli:
self.println(line, _("Type d(number of package) to delete a package, r to restart, or w/o d,r to look into it."))
line += 1
i = 0
- for id, value in islice(pack.iteritems(), self.pos[2], self.pos[2] + 5 ):
+ for id, value in islice(pack.iteritems(), self.pos[2], self.pos[2] + 5):
try:
self.println(line, mag(conv(id)) + ": " + value['name'])
line += 1