i18n/mki18n.py
changeset 1738 d2e979738700
parent 1736 7e61baa047f0
child 1739 ec153828ded2
equal deleted inserted replaced
1737:a39c2918c015 1738:d2e979738700
   449         optionList,pargs = getopt.getopt(sys.argv[1:],validOptions,validLongOptions)
   449         optionList,pargs = getopt.getopt(sys.argv[1:],validOptions,validLongOptions)
   450     except getopt.GetoptError, e:
   450     except getopt.GetoptError, e:
   451         printUsage(e[0])
   451         printUsage(e[0])
   452         sys.exit(1)
   452         sys.exit(1)
   453     for (opt,val) in optionList:
   453     for (opt,val) in optionList:
   454         if  (opt == '-h'):
   454         if (opt == '-h'):
   455             printUsage()
   455             printUsage()
   456             sys.exit(0)
   456             sys.exit(0)
   457         elif (opt == '-e'):         option['forceEnglish'] = 1
   457         elif (opt == '-e'):         option['forceEnglish'] = 1
   458         elif (opt == '-m'):         option['mo'] = 1
   458         elif (opt == '-m'):         option['mo'] = 1
   459         elif (opt == '-p'):         option['po'] = 1
   459         elif (opt == '-p'):         option['po'] = 1