Lines Matching refs:path
43 if not os.path.isfile(el.path):
47 for l in open(el.path).readlines():
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)
219 def scan_git_subtree(tree, path): argument
220 for p in path.strip('/').split('/'):
234 if '-' in args.path and len(args.path) > 1:
251 sys.stderr.write('%s: %s\n' %(se.el.path, se.txt))
262 if len(args.path) and args.path[0] == '-':
266 if args.path:
267 for p in args.path:
268 if os.path.isfile(p):
270 elif os.path.isdir(p):