From 664ba803975b96055750d30f8122ccc963d9277f Mon Sep 17 00:00:00 2001
From: Arnaud Fontaine <arnaud.fontaine@nexedi.com>
Date: Tue, 2 Apr 2013 15:11:07 +0900
Subject: [PATCH] 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().
---
 product/ZMySQLDA/db.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ZMySQLDA/db.py b/product/ZMySQLDA/db.py
index 60c1bb883c..3f51575186 100644
--- a/product/ZMySQLDA/db.py
+++ b/product/ZMySQLDA/db.py
@@ -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 = {}
-- 
2.30.9