remove unnecessary brackets
This commit is contained in:
parent
f1a43f1101
commit
3dd50f363d
11 changed files with 13 additions and 12 deletions
|
|
@ -353,7 +353,7 @@ class ReplApplication(Cmd, BaseApplication):
|
|||
raise NotEnoughArguments('Command needs %d arguments' % req_n)
|
||||
|
||||
if len(args) < nb:
|
||||
args += tuple([None for i in xrange(nb - len(args))])
|
||||
args += tuple(None for i in xrange(nb - len(args)))
|
||||
return args
|
||||
|
||||
def postcmd(self, stop, line):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue