install.py

changeset 4563
881340f4bd0c
parent 4561
5bc6ed226471
child 4566
a2e8f3c420ec
equal deleted inserted replaced
4561:5bc6ed226471 4563:881340f4bd0c
1370 exec(compile(open(arg).read(), arg, 'exec'), globals()) 1370 exec(compile(open(arg).read(), arg, 'exec'), globals())
1371 if len(cfg) != configLength: 1371 if len(cfg) != configLength:
1372 print("The configuration dictionary in '{0}' is incorrect." 1372 print("The configuration dictionary in '{0}' is incorrect."
1373 " Aborting".format(arg)) 1373 " Aborting".format(arg))
1374 exit(6) 1374 exit(6)
1375 except: 1375 except Exception:
1376 cfg = {} 1376 cfg = {}
1377 elif opt == "-m": 1377 elif opt == "-m":
1378 macAppBundleName = arg 1378 macAppBundleName = arg
1379 elif opt == "-n": 1379 elif opt == "-n":
1380 macAppBundlePath = arg 1380 macAppBundlePath = arg
1501 if __name__ == "__main__": 1501 if __name__ == "__main__":
1502 try: 1502 try:
1503 main(sys.argv) 1503 main(sys.argv)
1504 except SystemExit: 1504 except SystemExit:
1505 raise 1505 raise
1506 except: 1506 except Exception:
1507 print("""An internal error occured. Please report all the output""" 1507 print("""An internal error occured. Please report all the output"""
1508 """ of the program,\nincluding the following traceback, to""" 1508 """ of the program,\nincluding the following traceback, to"""
1509 """ eric-bugs@eric-ide.python-projects.org.\n""") 1509 """ eric-bugs@eric-ide.python-projects.org.\n""")
1510 raise 1510 raise

eric ide

mercurial