imaputil.py split the if

This patch splits the if to avoid multiple commands in the same line.
This commit is contained in:
Rodolfo García Peñas (kix) 2020-08-30 18:42:20 +02:00
parent abdaabb866
commit e3df3d4691

View File

@ -200,7 +200,9 @@ def uid_sequence(uidlist):
return str(start)
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
retval = []
# Force items to be longs and sort them