Permalink
Browse files

Catch file not found exception

  • Loading branch information...
drelu committed Jan 26, 2014
1 parent 428b8f2 commit 30f77269ffdfc0a98443fd4a9470e32e7f2e0e99
Showing with 6 additions and 1 deletion.
  1. +6 −1 bootstrap/bigjob-bootstrap.py
@@ -2334,7 +2334,12 @@ def install_with_virtualenv():
if __name__ == '__main__':
- ret = subprocess.call(["virtualenv", "--version"])
+ ret = -1
+ try:
+ ret = subprocess.call(["virtualenv", "--version"])
+ except:
+ pass
+
if ret==0:
install_with_virtualenv()
else:

0 comments on commit 30f7726

Please sign in to comment.