]> gitweb.michael.orlitzky.com - dead/census-tools.git/commitdiff
Moved RecordError in to its own file, Errors.py.
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 16 Nov 2009 01:01:23 +0000 (20:01 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 16 Nov 2009 01:01:23 +0000 (20:01 -0500)
src/Errors.py [new file with mode: 0644]
src/SummaryFile1.py

diff --git a/src/Errors.py b/src/Errors.py
new file mode 100644 (file)
index 0000000..8b26e0b
--- /dev/null
@@ -0,0 +1,2 @@
+class RecordError(StandardError):
+    pass
index 18164ed898609e1b429e99a7890a047cf4472346..75868673aacd02b72482e506aaa665774e68466c 100644 (file)
@@ -1,12 +1,10 @@
 import os
 
+from Errors import RecordError
 import GPS
 import StringUtils
 
 
-class RecordError(StandardError):
-    pass
-
 class GeoRecord:
     """
     This class wraps one record in an SF1 geo file.