aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--management/commands/listtimetables.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/management/commands/listtimetables.py b/management/commands/listtimetables.py
index d17399a..bd27e92 100644
--- a/management/commands/listtimetables.py
+++ b/management/commands/listtimetables.py
@@ -20,13 +20,8 @@ from ...models import Source
class Command(BaseCommand):
help = "List timetables in the database"
- def add_arguments(self, parser):
- parser.add_argument("--order-by-id", action="store_true")
-
def handle(self, *args, **options):
sources = Source.objects.all()
- if options["order_by_id"]:
- sources = sources.order_by("id")
for source in sources:
self.stdout.write("{0}\t: {1} (id: {2})".format(