1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
--- a/DSV/DSV.py
+++ b/DSV/DSV.py
@@ -128,7 +128,6 @@ import sys
# import pre as re # sre was broken, appears okay now. Try this if there are problems.
import re
import copy
-import exceptions
import string
## RedHat 8.0 (or rather GTK2?) sets LANG = en_us.UTF-8 and apparently some
## older apps (including wxGTK) can't handle this. The fix is to set LANG=C
@@ -147,10 +146,10 @@ try:
except ImportError:
wx = None
-class InvalidDelimiter(exceptions.StandardError): pass
-class InvalidTextQualifier(exceptions.StandardError): pass
-class InvalidData(exceptions.StandardError): pass
-class InvalidNumberOfColumns(exceptions.StandardError): pass
+class InvalidDelimiter(StandardError): pass
+class InvalidTextQualifier(StandardError): pass
+class InvalidData(StandardError): pass
+class InvalidNumberOfColumns(StandardError): pass
# ------------------------------------------------------------------------------
def guessTextQualifier(input):
|