server/sources/native.py
branchstable
changeset 9701 46c8d8701240
parent 9492 c7fc56eecd1a
child 9770 112c884b2d8d
child 9928 0d831b40fa48
--- a/server/sources/native.py	Mon Apr 14 11:54:33 2014 +0200
+++ b/server/sources/native.py	Mon Apr 14 12:07:00 2014 +0200
@@ -739,7 +739,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':
@@ -779,7 +779,7 @@
             print 'execmany', query, 'with', len(args), 'arguments'
         cursor = session.cnxset[self.uri]
         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':