summaryrefslogtreecommitdiff
path: root/portato/backend
diff options
context:
space:
mode:
Diffstat (limited to 'portato/backend')
-rw-r--r--portato/backend/flags.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/portato/backend/flags.py b/portato/backend/flags.py
index 94f19af..f90a74c 100644
--- a/portato/backend/flags.py
+++ b/portato/backend/flags.py
@@ -203,10 +203,10 @@ def sort_use_flag_list (flaglist):
"""
def flag_key (flag):
- if flag[0] in "+-":
- return flag[1:]
- else:
- return flag
+ if flag[0] in "+-":
+ return flag[1:]
+ else:
+ return flag
flaglist.sort(key = flag_key)
return flaglist