1. Marc Abramowitz
  2. sqlalchemy_msabramo_tox

Commits

Mike Bayer  committed ca1c1d1

ha - can't do this on 2.4

  • Participants
  • Parent commits 4af4211
  • Branches default

Comments (0)

Files changed (1)

File lib/sqlalchemy/exc.py

View file
  • Ignore whitespace
     """Raised by ``ForeignKey`` when the referred ``Table`` cannot be located."""
 
     def __init__(self, message, tname):
-        super(NoReferencedTableError, self).__init__(message)
+        NoReferenceError.__init__(self, message)
         self.table_name = tname
 
 class NoReferencedColumnError(NoReferenceError):
     """Raised by ``ForeignKey`` when the referred ``Column`` cannot be located."""
 
     def __init__(self, message, tname, cname):
-        super(NoReferencedColumnError, self).__init__(message)
+        NoReferenceError.__init__(self, message)
         self.table_name = tname
         self.column_name = cname