diff options
| author | Jason Kirtland <jek@discorporate.us> | 2007-08-15 22:07:35 +0000 |
|---|---|---|
| committer | Jason Kirtland <jek@discorporate.us> | 2007-08-15 22:07:35 +0000 |
| commit | 9350ec482732e384179f47c36e17efa214e4529d (patch) | |
| tree | fc2af713307d528e0bf25596e7b7c550eb9a8fa5 /lib/sqlalchemy | |
| parent | cf7a01a90c16a00f112ecda68a08c63a1e3d733e (diff) | |
| download | sqlalchemy-9350ec482732e384179f47c36e17efa214e4529d.tar.gz | |
stopgap, need a general strategy for raising readable exceptions for unicode content
Diffstat (limited to 'lib/sqlalchemy')
| -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': |
