Commits

Mike Bayer committed ca1c1d1

ha - can't do this on 2.4

Comments (0)

Files changed (1)

lib/sqlalchemy/exc.py

     """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