imaputil.py split the if
This patch splits the if to avoid multiple commands in the same line.
This commit is contained in:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Rodolfo García Peñas (kix)
					Rodolfo García Peñas (kix)