Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update bigjob/bigjob_manager.py

fixing bj bootstrap
  • Loading branch information...
commit 3f57147d86de55afdba4f5ce8757a00950a0ca94 1 parent 0878f24
@msharath msharath authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 bigjob/bigjob_manager.py
View
4 bigjob/bigjob_manager.py
@@ -604,12 +604,12 @@ def __generate_bootstrap_script(self, coordination_host, coordination_namespace,
os.system("/usr/bin/env")
try:
os.system("python " + BOOTSTRAP_FILE + " " + BIGJOB_PYTHON_DIR);
- activate_this = BIGJOB_PYTHON_DIR+'bin/activate_this.py';
+ activate_this = os.path.join(BIGJOB_PYTHON_DIR, "bin/activate_this.py");
execfile(activate_this, dict(__file__=activate_this))
except:
print "BJ installation failed. Trying system-level python (/usr/bin/python)";
os.system("/usr/bin/python " + BOOTSTRAP_FILE + " " + BIGJOB_PYTHON_DIR);
- activate_this = BIGJOB_PYTHON_DIR+'bin/activate_this.py';
+ activate_this = os.path.join(BIGJOB_PYTHON_DIR, "bin/activate_this.py");
execfile(activate_this, dict(__file__=activate_this))
#try to import BJ once again
import bigjob.bigjob_agent
Please sign in to comment.
Something went wrong with that request. Please try again.