summaryrefslogtreecommitdiff
path: root/development/mysql-workbench/mysql-workbench-py-append.patch
diff options
context:
space:
mode:
Diffstat (limited to 'development/mysql-workbench/mysql-workbench-py-append.patch')
-rw-r--r--development/mysql-workbench/mysql-workbench-py-append.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/development/mysql-workbench/mysql-workbench-py-append.patch b/development/mysql-workbench/mysql-workbench-py-append.patch
new file mode 100644
index 0000000000..9fb289d091
--- /dev/null
+++ b/development/mysql-workbench/mysql-workbench-py-append.patch
@@ -0,0 +1,33 @@
+From be3bb1110f1fd8af7ecf50e9524ce037200abf51 Mon Sep 17 00:00:00 2001
+From: Christian Hesse <mail@eworm.de>
+Date: Mon, 29 Dec 2014 19:54:01 +0100
+Subject: [PATCH 1/1] fix syntax error in wb_admin_export.py
+
+Correct syntax is args.append(...).
+
+Signed-off-by: Christian Hesse <mail@eworm.de>
+---
+ plugins/wb.admin/frontend/wb_admin_export.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/plugins/wb.admin/frontend/wb_admin_export.py b/plugins/wb.admin/frontend/wb_admin_export.py
+index 40f5167..4267201 100644
+--- a/plugins/wb.admin/frontend/wb_admin_export.py
++++ b/plugins/wb.admin/frontend/wb_admin_export.py
+@@ -1709,10 +1709,10 @@ class WbAdminExportTab(WbAdminSchemaListTab):
+ # description, object_count, pipe_factory, extra_args, objects
+ args = []
+ if not dump_triggers:
+- args.append['--skip-triggers']
+-
++ args.append('--skip-triggers')
++
+ if skip_table_structure:
+- args.append['--no-create-info']
++ args.append('--no-create-info')
+
+ if skip_data:
+ task = self.TableDumpNoData(schema,table, args, lambda schema=schema,table=table:self.dump_to_folder(schema, table))
+--
+2.2.1
+