From 8a728edb28b18efeb93a940575a25c003b181752 Mon Sep 17 00:00:00 2001
From: "[Marla Windman]" <mwindman@student.bridge.edu>
Date: Sun, 24 Apr 2022 15:23:48 -0400
Subject: [PATCH] Made a new branch and made a pointer for the list. working on
 using this to add the routes back in to the list. Will need to look more in
 to it.

---
 scripts/disambiguate-location-identifiers.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/scripts/disambiguate-location-identifiers.py b/scripts/disambiguate-location-identifiers.py
index 3e4c977..41dc008 100644
--- a/scripts/disambiguate-location-identifiers.py
+++ b/scripts/disambiguate-location-identifiers.py
@@ -31,6 +31,7 @@ def main(*argv):
         location_dict[location.identifier].append(location)
 
     changes = False
+    pointer = 0
     for identifier, locations in sorted(location_dict.items()):
         disambiguate = any((
                 len(locations) > 1,
@@ -38,7 +39,7 @@ def main(*argv):
                 identifier in ambiguous_set,
             ))
         location_split = identifier.split('-')
-        print(location_split)
+        print(location_split,pointer)
         if disambiguate:
             changes = True
             #print u'→'.encode('utf-8'),
@@ -65,7 +66,8 @@ def main(*argv):
                         numbered_identifier = '%s-%s' % (new_identifier, i)
                        # print numbered_identifier,
                         location.identifier = numbered_identifier
-            print(location)
+            #print(location)
+        pointer += 1
 
     if changes:
         if argv and argv[0] == '--commit':