diff python/storage.py @ 48:8aed225f71d8

rearranged code for function readline and getlines (and characters), moved invertHomography to cvutils
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Thu, 23 Sep 2010 17:24:31 -0400
parents ffddccfab7f9
children 7b06d649122b
line wrap: on
line diff
--- a/python/storage.py	Thu Sep 23 17:12:09 2010 -0400
+++ b/python/storage.py	Thu Sep 23 17:24:31 2010 -0400
@@ -85,16 +85,6 @@
         
     out.close()
 
-# other functions
-def getLines(f):
-    '''Gets a complete entry (all the lines) in between delimiterChar.'''
-    dataStrings = []
-    s = utils.myreadline(f)
-    while (len(s) > 0) and (not s.startswith(delimiterChar)):
-        dataStrings += [s.strip()]
-        s = utils.myreadline(f)
-    return dataStrings
-