install-i18n.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 2992
dbdf27746da5
child 3060
5883ce99ee12
equal deleted inserted replaced
3056:9986ec0e559a 3057:10516539f238
62 print() 62 print()
63 print("Usage:") 63 print("Usage:")
64 print(" {0} [-hp]".format(progName)) 64 print(" {0} [-hp]".format(progName))
65 print("where:") 65 print("where:")
66 print(" -h display this help message") 66 print(" -h display this help message")
67 print(" -p install into the private area ({0})".format(configDir)) 67 print(" -p install into the private area ({0})".format(
68 configDir))
68 69
69 sys.exit(rcode) 70 sys.exit(rcode)
70 71
71 72
72 def installTranslations(): 73 def installTranslations():
123 try: 124 try:
124 main(sys.argv) 125 main(sys.argv)
125 except SystemExit: 126 except SystemExit:
126 raise 127 raise
127 except: 128 except:
128 print("""An internal error occured. Please report all the output of the program, 129 print(
130 """An internal error occured. Please report all the output of the program,
129 including the following traceback, to eric5-bugs@eric-ide.python-projects.org. 131 including the following traceback, to eric5-bugs@eric-ide.python-projects.org.
130 """) 132 """)
131 raise 133 raise

eric ide

mercurial