diff options
Diffstat (limited to 'lib/sqlalchemy/databases/mysql.py')
-rw-r--r-- | lib/sqlalchemy/databases/mysql.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py index 6d6f32ead..4cdc7962a 100644 --- a/lib/sqlalchemy/databases/mysql.py +++ b/lib/sqlalchemy/databases/mysql.py @@ -1887,7 +1887,8 @@ class MySQLSchemaReflector(object): type_, spec = self.constraints(line) if type_ is None: warnings.warn( - RuntimeWarning("Unknown schema content: %s" % line)) + RuntimeWarning("Unknown schema content: %s" % + repr(line))) elif type_ == 'key': keys.append(spec) elif type_ == 'constraint': |