Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


Diff of /branches/MySQLdb-1.2/MySQLdb/MySQLdb/ [r671] .. [r672] Maximize Restore

  Switch to side-by-side view

--- a/branches/MySQLdb-1.2/MySQLdb/MySQLdb/
+++ b/branches/MySQLdb-1.2/MySQLdb/MySQLdb/
@@ -151,7 +151,7 @@
         kwargs2 = kwargs.copy()
-        if kwargs.has_key('conv'):
+        if 'conv' in kwargs:
             conv = kwargs['conv']
             conv = conversions