Commits

adamv committed 27364fc

Removed unused code from unused InterfaceError.

  • Participants
  • Parent commits bb1c941

Comments (0)

Files changed (1)

File source/sqlserver_ado/dbapi.py

 class Error(StandardError): pass
 class Warning(StandardError): pass
 
-class InterfaceError(Error):
-    def __init__(self, inner_exception=None):
-        self.inner_exception = inner_exception
-
-    def __str__(self):
-        s = "InterfaceError"
-        if self.inner_exception is not None:
-            s += "\n" + str(self.inner_exception)
-        return s
-
+class InterfaceError(Error): pass
 class DatabaseError(Error): pass
 class InternalError(DatabaseError): pass
 class OperationalError(DatabaseError): pass