autobuild.py: Catch only true exceptions in except statement
authorAmitay Isaacs <amitay@gmail.com>
Tue, 24 Jan 2012 00:43:46 +0000 (11:43 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 24 Jan 2012 00:55:49 +0000 (11:55 +1100)
commitbe292021f47eeaa1364bedb2dc9232b60c404fce
treef57c6fdd734878580dc563b0627cbc794230da9d
parent869fd8eeba00bd62e89de344184ef748c5c0f9c0
autobuild.py: Catch only true exceptions in except statement

sys.exit(0) raises systemExit which is caught in empty except:
statement. This can change the exit status if except: condition is
supposed to exit with different status value.
script/autobuild.py