Revision 1719
Added by Aaron Marcuse-Kubitza over 12 years ago
map | ||
---|---|---|
320 | 320 |
|
321 | 321 |
def main(): |
322 | 322 |
try: main_() |
323 |
except Parser.SyntaxException, e: raise SystemExit(str(e))
|
|
323 |
except Parser.SyntaxError, e: raise SystemExit(str(e))
|
|
324 | 324 |
|
325 | 325 |
if __name__ == '__main__': |
326 | 326 |
profile_to = opts.get_env_var('profile_to', None) |
Also available in: Unified diff
Parser.py: Renamed SyntaxException to SyntaxError because it's an unexpected condition that should exit the program, a.k.a. an error