[dataimport] minor typo in error handling
authorDimitri Papadopoulos <dimitri.papadopoulos@cea.fr>
Tue, 14 May 2013 15:26:24 +0200
changeset 8970 0a1bd0c590e2
parent 8969 b37ce419ce26
child 8971 062e40f41b57
[dataimport] minor typo in error handling
dataimport.py
--- 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,