]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
ha - can't do this on 2.4
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 7 May 2011 23:41:10 +0000 (19:41 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 7 May 2011 23:41:10 +0000 (19:41 -0400)
lib/sqlalchemy/exc.py

index c52924cfb747d959ae401561a9da12387fff7269..3e88ee3a6c19ad80dcfa1a95ae99c47410bf16b2 100644 (file)
@@ -79,14 +79,14 @@ class NoReferencedTableError(NoReferenceError):
     """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