summaryrefslogtreecommitdiff
path: root/development/mysql-workbench/mysql-workbench-py-append.patch
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-01 18:51:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-01 18:51:48 +0700
commita2be10f2a475c579c4f445bbe3941d41166d3dba (patch)
treee1577b4d26c968f22bd59d33f66a60c20404dab9 /development/mysql-workbench/mysql-workbench-py-append.patch
parent079e0fe62cd8673f3e9a7cb60f0233b552b378a9 (diff)
downloadslackbuilds-a2be10f2a475c579c4f445bbe3941d41166d3dba.tar.gz
development/mysql-workbench: Add py append patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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
+