Lines Matching defs:opts
93 def check(filename, opts):
97 return cddlchk(fh, verbose=opts['verbose'],
98 lenient=opts['lenient'],
105 def walker(opts, dirname, fnames):
110 if not path in opts['exclude']:
111 opts['status'] |= check(path, opts)
113 if path in opts['exclude']:
116 def walkpath(path, opts):
118 os.path.walk(path, walker, opts)
120 if not path in opts['exclude']:
121 opts['status'] |= check(path, opts)
132 opts, args = getopt.getopt(sys.argv[1:], 'avx:')
137 for opt, arg in opts: