imaputil.py split the if
This patch splits the if to avoid multiple commands in the same line.
This commit is contained in:
parent
abdaabb866
commit
e3df3d4691
@ -200,7 +200,9 @@ def uid_sequence(uidlist):
|
|||||||
return str(start)
|
return str(start)
|
||||||
return "%s:%s" % (start, end)
|
return "%s:%s" % (start, end)
|
||||||
|
|
||||||
if not len(uidlist): return '' # Empty list, return
|
if not len(uidlist):
|
||||||
|
return '' # Empty list, return
|
||||||
|
|
||||||
start, end = None, None
|
start, end = None, None
|
||||||
retval = []
|
retval = []
|
||||||
# Force items to be longs and sort them
|
# Force items to be longs and sort them
|
||||||
|
Loading…
Reference in New Issue
Block a user