summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d1ae92e)
Imported StringUtils into SummaryFile1.
Removed the InvalidAreaError, since we need to accept areas of zero.
--- /dev/null
+def is_integer(s):
+ try:
+ x = int(s)
+ return True
+ except:
+ return False
+
+import os
+
+import GPS
+import StringUtils
-class RecordError(StandardError):
- pass
-class InvalidAreaError(StandardError):
+class RecordError(StandardError):
except ValueError:
# A value couldn't be converted to the appropriate type.
continue
except ValueError:
# A value couldn't be converted to the appropriate type.
continue
- except InvalidAreaError:
- # Something is funny with the geometry.
- continue