Project

General

Profile

« Previous | Next » 

Revision 1719

Parser.py: Renamed SyntaxException to SyntaxError because it's an unexpected condition that should exit the program, a.k.a. an error

View differences:

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