X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2FSummaryFile1.py;h=0ad410d0dc4152b6642d96fb10c3b9647e466c3c;hb=75ac117b996561aea48d7c30c2ebdb6db8177c14;hp=bd69d0095137d30caff160fbed0cea2567530040;hpb=d1ae92e454c529c4ace25e7297ba0e4a3b428f29;p=dead%2Fcensus-tools.git diff --git a/src/SummaryFile1.py b/src/SummaryFile1.py index bd69d00..0ad410d 100644 --- a/src/SummaryFile1.py +++ b/src/SummaryFile1.py @@ -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