Commit 664ba803 authored by Arnaud Fontaine's avatar Arnaud Fontaine

str.join() != string.join() as the former must be called with a string instance (406b1c68).

Otherwise a TypeError exception is raised when calling Connection().columns().
parent 1ab4fb5b
......@@ -270,7 +270,7 @@ class DB(TM):
c = self._query('SHOW COLUMNS FROM %s' % table_name)
except Exception:
return ()
join = str.join
from string import join
r=[]
for Field, Type, Null, Key, Default, Extra in c.fetch_row(0):
info = {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment