Lines Matching refs:el
20 def __init__(self, el, txt): argument
21 self.el = el
42 for el in lictree[d].traverse():
43 if not os.path.isfile(el.path):
47 for l in open(el.path).readlines():
51 raise SPDXException(el, 'Duplicate License Identifier: %s' %lid)
68 … raise SPDXException(el, 'Exception %s is missing SPDX-Licenses' %exception)
207 for el in tree.traverse():
210 if el.path.startswith("LICENSES"):
212 if el.path.find("license-rules.rst") >= 0:
214 if not os.path.isfile(el.path):
216 with open(el.path, 'rb') as fd:
217 parser.parse_lines(fd, args.maxlines, el.path)
250 if se.el:
251 sys.stderr.write('%s: %s\n' %(se.el.path, se.txt))