Skip to content

Commit 5c0a1c7

Browse files
committed
Tidied up Comments
1 parent 6d09116 commit 5c0a1c7

File tree

3 files changed

+10
-13
lines changed

3 files changed

+10
-13
lines changed

README

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ These recorded changes can then be run on another database allowing the develope
1111
orders 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

sqlgeneral_monitor.py renamed to monitor.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff 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

runsql.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
from enum import Enum
88
from 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)

0 commit comments

Comments
 (0)