changeset 53:0a5bdbf0d1b4

added comments
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 13 Oct 2010 19:02:45 -0400
parents 441c8387f34f
children c354d41ef7cd
files python/ubc_utils.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/python/ubc_utils.py	Tue Oct 12 18:24:11 2010 -0400
+++ b/python/ubc_utils.py	Wed Oct 13 19:02:45 2010 -0400
@@ -39,11 +39,13 @@
         return
 
     lines = utils.getLines(infile)
-    objNum = 0
+    objNum = 0 # in inFilename
     while lines != []:
+        # find object in objects (index i)
         i = 0
         while (i<len(objects)) and (objects[i].num != objNum):
             i+=1
+
         if i<len(objects):
             l = lines[0].split(' ')
             l[3] = str(objects[i].userType)