diff options
-rw-r--r-- | abs/core/supplemental-web/contents/process.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/abs/core/supplemental-web/contents/process.py b/abs/core/supplemental-web/contents/process.py index c4f6170..9098ad6 100644 --- a/abs/core/supplemental-web/contents/process.py +++ b/abs/core/supplemental-web/contents/process.py @@ -122,13 +122,13 @@ def go_restore(restorefile,myhost): return results def go_optimize(myhost): - myhostname = socket.gethostname() - if myhostname.strip() == myhost.strip(): - command="/usr/LH/bin/optimize_mythdb.py" - print command - results=os.popen(command,'r') - else: - results='This host does not run a database' + #myhostname = socket.gethostname() + #if myhostname.strip() == myhost.strip(): + command="/usr/LH/bin/optimize_mythdb.py" + print command + results=os.popen(command,'r') + #else: + #results='This host does not run a database' return results def go_update(myhost,update_type): |