Mercurial > hg > nsaunier > traffic-intelligence
comparison python/ubc_utils.py @ 1012:01db14e947e4
resolved
| author | Wendlasida |
|---|---|
| date | Fri, 01 Jun 2018 10:47:49 -0400 |
| parents | 933670761a57 |
| children |
comparison
equal
deleted
inserted
replaced
| 1011:4f0312bee393 | 1012:01db14e947e4 |
|---|---|
| 158 | 158 |
| 159 if len(lines) != 2: | 159 if len(lines) != 2: |
| 160 objects.append(obj) | 160 objects.append(obj) |
| 161 objNum+=1 | 161 objNum+=1 |
| 162 else: | 162 else: |
| 163 print("Error two lines of data for feature %d"%(f.num)) | 163 print("Error two lines of data for feature {}".format(f.num)) |
| 164 | 164 |
| 165 lines = storage.getLines(file) | 165 lines = storage.getLines(file) |
| 166 | 166 |
| 167 file.close() | 167 file.close() |
| 168 return objects | 168 return objects |
