summaryrefslogtreecommitdiff
path: root/chimere/management/commands/v3_to_v2_routes.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-06-14 14:02:04 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-06-14 14:02:04 +0200
commitb873859a7377e50609415c455dcb4e7fff34e84f (patch)
treef2816945a80ee8984e793eb9306e63870a96fb20 /chimere/management/commands/v3_to_v2_routes.py
parentb6e4b8d34e410080a4c65e0ca0245a4a5d9a9662 (diff)
downloadChimère-b873859a7377e50609415c455dcb4e7fff34e84f.tar.bz2
Chimère-b873859a7377e50609415c455dcb4e7fff34e84f.zip
v2 to v3 dump: add route files to dump
Diffstat (limited to 'chimere/management/commands/v3_to_v2_routes.py')
-rw-r--r--chimere/management/commands/v3_to_v2_routes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/chimere/management/commands/v3_to_v2_routes.py b/chimere/management/commands/v3_to_v2_routes.py
index 92e26d5..974c6ac 100644
--- a/chimere/management/commands/v3_to_v2_routes.py
+++ b/chimere/management/commands/v3_to_v2_routes.py
@@ -10,6 +10,7 @@ class Command(BaseCommand):
def handle(self, *args, **options):
new_routes = []
+ new_routes += get_data('RouteFile')
new_routes += get_data('Route',
filters=('weight', 'normalised_weight',
'color'))