]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fix incorrect method name
authorChris Withers <chris@simplistix.co.uk>
Tue, 21 May 2013 16:46:28 +0000 (17:46 +0100)
committerChris Withers <chris@simplistix.co.uk>
Sun, 26 May 2013 12:05:56 +0000 (13:05 +0100)
lib/sqlalchemy/schema.py

index 9a07b9de4177a3df153ddafc47db8db3fee87af1..f894e6c31c956fdd57e32bbd88ac7397e06d6181 100644 (file)
@@ -2007,7 +2007,7 @@ class Constraint(SchemaItem):
             pass
         raise exc.InvalidRequestError(
                     "This constraint is not bound to a table.  Did you "
-                    "mean to call table.add_constraint(constraint) ?")
+                    "mean to call table.append_constraint(constraint) ?")
 
     def _set_parent(self, parent):
         self.parent = parent