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
1111orders easily and automatically from a development to a production website and vice verca.
1212
1313
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+
1424
1525 --- TODO ---
1626
Original file line number Diff line number Diff line change @@ -322,14 +322,6 @@ def main():
322322 else :
323323 os .makedirs (configuration ["Global" ][conf .GLOBAL .Export .value ])
324324
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-
333325 # For each line in the log
334326 for x in range (len (sqllog )):
335327
Original file line number Diff line number Diff line change 77from enum import Enum
88from enum import IntEnum
99
10- import conf
11-
12- #configuration = conf.getConfig("oem")
13-
1410# ##############################
1511# --- SCRIPT REQUIREMENTS ---
1612# ##############################
@@ -100,4 +96,3 @@ def runSQL(user, configuration):
10096 os .remove (configuration [user ][conf .CONFIG .Export .value ])
10197 os .remove (tmp_file )
10298
103- #runSQL('/root/scripts/cron/sqlexports/oem_magento', configuration)
You can’t perform that action at this time.
0 commit comments