equal
deleted
inserted
replaced
465 optionList, pargs = getopt.getopt(sys.argv[1:], validOptions, validLongOptions) |
465 optionList, pargs = getopt.getopt(sys.argv[1:], validOptions, validLongOptions) |
466 except getopt.GetoptError, e: |
466 except getopt.GetoptError, e: |
467 printUsage(e[0]) |
467 printUsage(e[0]) |
468 sys.exit(1) |
468 sys.exit(1) |
469 for (opt, val) in optionList: |
469 for (opt, val) in optionList: |
470 if (opt == '-h'): |
470 if opt == '-h': |
471 printUsage() |
471 printUsage() |
472 sys.exit(0) |
472 sys.exit(0) |
473 option[optionKey[opt]] = 1 if val == '' else val |
473 option[optionKey[opt]] = 1 if val == '' else val |
474 if len(pargs) == 0: |
474 if len(pargs) == 0: |
475 appDirPath = os.getcwd() |
475 appDirPath = os.getcwd() |