From 19b87f8c6d1d45612e804580a7ddbaf270d1241b Mon Sep 17 00:00:00 2001 From: James Meyer Date: Tue, 27 Dec 2011 11:38:31 -0600 Subject: supplemental-web: process.py remove condtional hostname check for optimizing the database. refs #805 --- abs/core/supplemental-web/contents/process.py | 14 +++++++------- 1 file 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): -- cgit v0.12