dataimport.py
changeset 8970 0a1bd0c590e2
parent 8930 6a02be304486
child 9181 2eac0aa1d3f6
--- a/dataimport.py	Tue May 07 00:29:42 2013 +0200
+++ b/dataimport.py	Tue May 14 15:26:24 2013 +0200
@@ -396,7 +396,7 @@
                     columns = list(data[0])
                 execmany_func(cu, statement, data, table, columns, encoding)
             except Exception:
-                print 'unable to copy data into table %s', table
+                print 'unable to copy data into table %s' % table
                 # Error in import statement, save data in dump_output_dir
                 if dump_output_dir is not None:
                     pdata = {'data': data, 'statement': statement,