diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-01-01 18:51:48 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-01-01 18:51:48 +0700 |
commit | a2be10f2a475c579c4f445bbe3941d41166d3dba (patch) | |
tree | e1577b4d26c968f22bd59d33f66a60c20404dab9 /development/mysql-workbench | |
parent | 079e0fe62cd8673f3e9a7cb60f0233b552b378a9 (diff) | |
download | slackbuilds-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')
-rw-r--r-- | development/mysql-workbench/mysql-workbench-py-append.patch | 33 | ||||
-rw-r--r-- | development/mysql-workbench/mysql-workbench.SlackBuild | 4 |
2 files changed, 36 insertions, 1 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 + diff --git a/development/mysql-workbench/mysql-workbench.SlackBuild b/development/mysql-workbench/mysql-workbench.SlackBuild index 0cdbbf0a38..7ec174ddd6 100644 --- a/development/mysql-workbench/mysql-workbench.SlackBuild +++ b/development/mysql-workbench/mysql-workbench.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=mysql-workbench VERSION=${VERSION:-6.2.4} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} SRCVERSION=$VERSION-src @@ -85,6 +85,8 @@ patch -p1 < $CWD/workbench-gdal.patch # Patch SSH Tunnel patch -p1 < $CWD/mysql-workbench-paramiko.patch +patch -p1 < $CWD/mysql-workbench-py-append.patch + install -D $CWD/antlr-3.4-complete.jar $TMP/linux-res/bin/antlr-3.4-complete.jar mkdir wb-build |