]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fix "associated" at the source too
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 14 Mar 2011 15:20:01 +0000 (11:20 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 14 Mar 2011 15:20:01 +0000 (11:20 -0400)
lib/sqlalchemy/schema.py

index 223643c804b5b618580600591c691bc3e23483b0..a6c7544b1487a552cc1058c0c7aa40eee2b9946b 100644 (file)
@@ -1175,7 +1175,7 @@ class ForeignKey(SchemaItem):
 
             if _get_table_key(tname, schema) not in parenttable.metadata:
                 raise exc.NoReferencedTableError(
-                    "Foreign key assocated with column '%s' could not find "
+                    "Foreign key associated with column '%s' could not find "
                     "table '%s' with which to generate a "
                     "foreign key to target column '%s'" % (self.parent, tname, colname))
             table = Table(tname, parenttable.metadata,