server/sources/native.py
changeset 9770 112c884b2d8d
parent 9664 5ef5494b6b0b
parent 9701 46c8d8701240
child 9802 9f815b1f2516
--- a/server/sources/native.py	Wed Apr 09 17:29:25 2014 +0200
+++ b/server/sources/native.py	Tue Jun 10 09:49:45 2014 +0200
@@ -709,7 +709,7 @@
             # instance
             print 'exec', query, args, getattr(cnx, '_cnx', cnx)
         try:
-            # str(query) to avoid error if it's an unicode string
+            # str(query) to avoid error if it's a unicode string
             cursor.execute(str(query), args)
         except Exception as ex:
             if self.repo.config.mode != 'test':
@@ -756,7 +756,7 @@
             print 'execmany', query, 'with', len(args), 'arguments'
         cursor = cnx.cnxset.cu
         try:
-            # str(query) to avoid error if it's an unicode string
+            # str(query) to avoid error if it's a unicode string
             cursor.executemany(str(query), args)
         except Exception as ex:
             if self.repo.config.mode != 'test':