mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
development/mysql-workbench: Add py append patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
079e0fe62c
commit
a2be10f2a4
2 changed files with 36 additions and 1 deletions
33
development/mysql-workbench/mysql-workbench-py-append.patch
Normal file
33
development/mysql-workbench/mysql-workbench-py-append.patch
Normal file
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue