Diff of /trunk/MySQLdb/MySQLdb/__init__.py [r455] .. [r456]  Maximize  Restore

Switch to side-by-side view

--- a/trunk/MySQLdb/MySQLdb/__init__.py
+++ b/trunk/MySQLdb/MySQLdb/__init__.py
@@ -13,7 +13,7 @@
 
 """
 
-__revision__ = """$Revision: 410 $"""[11:-2]
+__revision__ = """$Revision: 456 $"""[11:-2]
 from release import __version__, version_info, __author__
 
 import _mysql
@@ -66,8 +66,7 @@
 ROWID     = DBAPISet()
 
 def Binary(x):
-    from array import array
-    return array('c', x)
+    return str(x)
 
 def Connect(*args, **kwargs):
     """Factory function for connections.Connection."""