mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-22 06:17:50 +00:00
setup: sys.exit() raises a SystemExit exception on Python 2.4 on Solaris -- fix it so that bin/tahoe doesn't interpret this as its brother having been non-executable
This commit is contained in:
parent
3e4450cf3f
commit
89a4b5f4f5
@ -49,7 +49,6 @@ executable = os.path.join(base, "support", bin_dir, "tahoe")
|
||||
|
||||
try:
|
||||
res = subprocess.call([executable] + sys.argv[1:], env=os.environ)
|
||||
sys.exit(res)
|
||||
except (OSError, IOError), le:
|
||||
if le.args[0] == errno.ENOENT:
|
||||
print whoami
|
||||
@ -67,3 +66,5 @@ I just tried to invoke my brother, named "../support/bin/tahoe" and got an
|
||||
exception.
|
||||
'''
|
||||
raise
|
||||
else:
|
||||
sys.exit(res)
|
||||
|
Loading…
Reference in New Issue
Block a user