1
0

replace BaseException with Exception

This commit is contained in:
Bryan Stitt
2013-11-09 20:21:02 -08:00
parent ba9782eec6
commit f0eb0eccde
15 changed files with 42 additions and 42 deletions

View File

@@ -103,7 +103,7 @@ def run_command(cmd, password = None, args = []):
cmd_runner.password = password
try:
result = func(*args[1:])
except BaseException, e:
except Exception as e:
import traceback
traceback.print_exc(file=sys.stdout)
sys.exit(1)