aboutsummaryrefslogtreecommitdiff
path: root/management/commands/listtimetables.py
diff options
context:
space:
mode:
authorAlban Gruin2018-01-28 11:14:34 +0100
committerAlban Gruin2018-01-28 11:14:34 +0100
commit77a4b75431cfab7348db73b563dd005ce64be14a (patch)
tree850473bacc0a4b7203b5d7253a04c96baec9f3a8 /management/commands/listtimetables.py
parent7c73c8f900b86ebd58f48171cbd5284c29bdf840 (diff)
Changements dans le formatage du code pour le rendre plus lisible
Diffstat (limited to 'management/commands/listtimetables.py')
-rw-r--r--management/commands/listtimetables.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/management/commands/listtimetables.py b/management/commands/listtimetables.py
index 7892855..a3ef223 100644
--- a/management/commands/listtimetables.py
+++ b/management/commands/listtimetables.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2017 Alban Gruin
+# Copyright (C) 2017-2018 Alban Gruin
#
# celcatsanitizer is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
@@ -29,9 +29,8 @@ class Command(BaseCommand):
sources = sources.order_by("id")
for source in sources:
- self.stdout.write("{0}\t: {1} (id: {2})"
- .format(source.formatted_timetables,
- source, source.id))
+ self.stdout.write("{0}\t: {1} (id: {2})".format(
+ source.formatted_timetables, source, source.id))
self.stdout.write("")
self.stdout.write(self.style.SUCCESS("Done."))