]> gitweb.michael.orlitzky.com - dead/census-tools.git/blobdiff - src/SummaryFile1.py
Added the StringUtils module with the is_integer() function.
[dead/census-tools.git] / src / SummaryFile1.py
index bd69d0095137d30caff160fbed0cea2567530040..0ad410d0dc4152b6642d96fb10c3b9647e466c3c 100644 (file)
@@ -1,9 +1,10 @@
-import os, GPS, inspect
+import os
+
+import GPS
+import StringUtils
 
-class RecordError(StandardError):
-    pass
 
-class InvalidAreaError(StandardError):
+class RecordError(StandardError):
     pass
 
 class GeoRecord:
@@ -83,9 +84,6 @@ class GeoRecordParser:
             except ValueError:
                 # A value couldn't be converted to the appropriate type.
                 continue
-            except InvalidAreaError:
-                # Something is funny with the geometry.
-                continue
             
         return blocks