File tree Expand file tree Collapse file tree 3 files changed +10
-13
lines changed Expand file tree Collapse file tree 3 files changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,16 @@ These recorded changes can then be run on another database allowing the develope
11
11
orders easily and automatically from a development to a production website and vice verca.
12
12
13
13
14
+ Current Build Designed for use on:
15
+
16
+ - MySQL 5.6
17
+ - Python 2.6.6
18
+
19
+ Requires:
20
+
21
+ - enum34 1.6.6 (backported)
22
+ - MySQLdb 1.2.5
23
+
14
24
15
25
--- TODO ---
16
26
Original file line number Diff line number Diff line change @@ -322,14 +322,6 @@ def main():
322
322
else :
323
323
os .makedirs (configuration ["Global" ][conf .GLOBAL .Export .value ])
324
324
325
- # # Create a dictionary to store the save file locations
326
- # #save_files = {}
327
- # # For each user in the configuration
328
- # #for user in configuration:
329
-
330
- # # # Create the save file location
331
- # # save_files[user] = configuration["Global"][conf.GLOBAL.Export.value] + configuration[user][conf.CONFIG.Database.value] #export_dir + configuration[user][conf.CONFIG.Database.value]
332
-
333
325
# For each line in the log
334
326
for x in range (len (sqllog )):
335
327
Original file line number Diff line number Diff line change 7
7
from enum import Enum
8
8
from enum import IntEnum
9
9
10
- import conf
11
-
12
- #configuration = conf.getConfig("oem")
13
-
14
10
# ##############################
15
11
# --- SCRIPT REQUIREMENTS ---
16
12
# ##############################
@@ -100,4 +96,3 @@ def runSQL(user, configuration):
100
96
os .remove (configuration [user ][conf .CONFIG .Export .value ])
101
97
os .remove (tmp_file )
102
98
103
- #runSQL('/root/scripts/cron/sqlexports/oem_magento', configuration)
You can’t perform that action at this time.
0 commit comments