more style consistency

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht
2015-01-14 22:58:25 +01:00
parent 5318af606e
commit 461554b7b1
20 changed files with 343 additions and 297 deletions

View File

@@ -211,7 +211,7 @@ def uid_sequence(uidlist):
def getrange(start, end):
if start == end:
return(str(start))
return "%s:%s" % (start, end)
return "%s:%s"% (start, end)
if not len(uidlist): return '' # Empty list, return
start, end = None, None