Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/c/o/CommandTool-0.5.3/commandtool/__init__.py   CommandTool(Download)
                # Make this check optional at some point
                multiple = opt.get('multiple', False)
                if options_used.has_key(int_var) and not multiple:
                    raise getopt.GetoptError(
                        'The option %r is unexpected (the related option %r '
                    if opt.get('metavar', ''):
                        if multiple:
                            if not internal.has_key(int_var):
                                internal[int_var] = [value]
                            else:
                        else:
                            internal[int_var] = True
                    if options_used.has_key(int_var):
                        options_used[int_var].append(option)
                        values_used[int_var].append(value)