DebugClients/Python/coverage/files.py

branch
Py2 comp.
changeset 3515
1b8381afe38f
parent 3499
f2d4b02c7e88
child 4385
599681bf149a
equal deleted inserted replaced
3506:d85fadb263a0 3515:1b8381afe38f
305 # We're only interested in files that look like reasonable Python 305 # We're only interested in files that look like reasonable Python
306 # files: Must end with .py or .pyw, and must not have certain funny 306 # files: Must end with .py or .pyw, and must not have certain funny
307 # characters that probably mean they are editor junk. 307 # characters that probably mean they are editor junk.
308 if re.match(r"^[^.#~!$@%^&*()+=,]+\.pyw?$", filename): 308 if re.match(r"^[^.#~!$@%^&*()+=,]+\.pyw?$", filename):
309 yield os.path.join(dirpath, filename) 309 yield os.path.join(dirpath, filename)
310
311 #
312 # eflag: FileType = Python2

eric ide

mercurial