aboutsummaryrefslogtreecommitdiff
path: root/layers/vuid_mapping.py
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2017-05-19 16:32:15 -0600
committerTobin Ehlis <tobine@google.com>2017-05-24 11:21:40 -0600
commitf2eec70863c35de3a426e50c2d3e121820cd8cbf (patch)
tree49cc5de2910d84c68dc041c3ddf4cded2afc5592 /layers/vuid_mapping.py
parent447f4b9a5f5b87bdf2c2d1cd2fced93f4f6579c4 (diff)
downloadusermoji-f2eec70863c35de3a426e50c2d3e121820cd8cbf.tar.xz
scripts:Add string-based VUID to db file
Include the new, string-based Valid Usage Unique IDs in the validation database file. This will be use to map between the old ids and these new ids. These script updates are a bit hacky as the migration is underway and function is being favored over form. Once migration is complete I can strip down spec.py script to core functionality which should be much cleaner and simpler than either the original code or this current form.
Diffstat (limited to 'layers/vuid_mapping.py')
-rw-r--r--layers/vuid_mapping.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/vuid_mapping.py b/layers/vuid_mapping.py
index 96d93c63..21512643 100644
--- a/layers/vuid_mapping.py
+++ b/layers/vuid_mapping.py
@@ -913,7 +913,7 @@ def convertVUID(vuid_string):
if uniqueid in uniqueid_set:
print ("ERROR: Uniqueid %d for string id %s is a duplicate!" % (uniqueid, vuid_string))
print (" TODO: Figure out what caused the dupe and fix it")
- #sys.exit()
+ sys.exit()
print ("Storing uniqueid %d for unique string %s" % (uniqueid, vuid_string))
uniqueid_set.add(uniqueid)
# if func_struct_update: