Mercurial Hosting > traffic-intelligence
diff python/ubc_utils.py @ 998:933670761a57
updated code to python 3 (tests pass and scripts run, but non-executed parts of code are probably still not correct)
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Sun, 27 May 2018 23:22:48 -0400 |
parents | 49e99ca34a7d |
children |
line wrap: on
line diff
--- a/python/ubc_utils.py Fri May 25 18:15:18 2018 -0400 +++ b/python/ubc_utils.py Sun May 27 23:22:48 2018 -0400 @@ -160,7 +160,7 @@ objects.append(obj) objNum+=1 else: - print("Error two lines of data for feature %d"%(f.num)) + print("Error two lines of data for feature {}".format(f.num)) lines = storage.getLines(file)