install-i18n.py

branch
5_0_x
changeset 364
4ff3e465f6a9
parent 139
5c4f1a9ae0bb
child 433
988006cb898f
child 792
a13346916170
equal deleted inserted replaced
362:e09ff98eb4d1 364:4ff3e465f6a9
78 try: 78 try:
79 for fn in glob.glob(os.path.join('eric', 'i18n', '*.qm')): 79 for fn in glob.glob(os.path.join('eric', 'i18n', '*.qm')):
80 shutil.copy2(fn, targetDir) 80 shutil.copy2(fn, targetDir)
81 except IOError as msg: 81 except IOError as msg:
82 sys.stderr.write('IOError: %s\nTry install-i18n as root.\n' % msg) 82 sys.stderr.write('IOError: %s\nTry install-i18n as root.\n' % msg)
83 except OSError as msg:
84 sys.stderr.write('OSError: %s\nTry install-i18n with admin rights.\n' % msg)
83 85
84 def main(argv): 86 def main(argv):
85 """ 87 """
86 The main function of the script. 88 The main function of the script.
87 89

eric ide

mercurial