Lines Matching defs:fname
38 def update(self, fname, basedir, miss):
42 fname = './' + fname
43 bdir = os.path.dirname(fname)
45 self.files.append(fname)
197 def parse_lines(self, fd, maxlines, fname):
233 sys.stdout.write('%s: %d:%d %s: %s\n' %(fname, self.curline, col, pe.txt, tok))
235 sys.stdout.write('%s: %d:0 %s\n' %(fname, self.curline, pe.txt))
238 if fname == '-':
241 base = os.path.dirname(fname)
256 di.update(fname, base, fail)
308 def read_exclude_file(fname):
310 if not fname:
312 with open(fname) as fd:
368 fname = args.exclude
369 if not fname:
370 fname = os.path.join(os.path.dirname(__file__), 'spdxexclude')
371 exclude_rules = read_exclude_file(fname)
373 sys.stderr.write('FAIL: Reading exclude file %s: %s\n' %(fname, ex))