summaryrefslogtreecommitdiff
path: root/development/mysql-workbench/mysql-workbench-py-append.patch
blob: 9fb289d09126d1b70d91a24dbb3f00a3ad7ec65a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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