diff options
author | James Meyer <james.meyer@operamail.com> | 2011-12-27 17:38:31 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2011-12-27 17:38:31 (GMT) |
commit | 19b87f8c6d1d45612e804580a7ddbaf270d1241b (patch) | |
tree | ae2d8b61b9b6a3948a168c1b2e88e5ec09414a13 /abs | |
parent | 39429332ae0a569b3968fea356a3c5b8cc7361f9 (diff) | |
download | linhes_pkgbuild-19b87f8c6d1d45612e804580a7ddbaf270d1241b.zip linhes_pkgbuild-19b87f8c6d1d45612e804580a7ddbaf270d1241b.tar.gz linhes_pkgbuild-19b87f8c6d1d45612e804580a7ddbaf270d1241b.tar.bz2 |
supplemental-web: process.py remove condtional hostname check for optimizing the database.
refs #805
Diffstat (limited to 'abs')
-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): |