mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix long lines.
This commit is contained in:
parent
4b8b3fa631
commit
009954e6a8
@ -117,10 +117,10 @@ def get_matching_files(dirname, exclude_patterns=()):
|
|||||||
for root, dirs, files in walk(dirname, followlinks=True):
|
for root, dirs, files in walk(dirname, followlinks=True):
|
||||||
relativeroot = root[dirlen:]
|
relativeroot = root[dirlen:]
|
||||||
|
|
||||||
qdirs = enumerate(path.join(relativeroot, dir).replace(os.path.sep, SEP)
|
qdirs = enumerate(path.join(relativeroot, dn).replace(os.path.sep, SEP)
|
||||||
for dir in dirs)
|
for dn in dirs)
|
||||||
qfiles = enumerate(path.join(relativeroot, file).replace(os.path.sep, SEP)
|
qfiles = enumerate(path.join(relativeroot, fn).replace(os.path.sep, SEP)
|
||||||
for file in files)
|
for fn in files)
|
||||||
for matcher in matchers:
|
for matcher in matchers:
|
||||||
qdirs = [entry for entry in qdirs if not matcher(entry[1])]
|
qdirs = [entry for entry in qdirs if not matcher(entry[1])]
|
||||||
qfiles = [entry for entry in qfiles if not matcher(entry[1])]
|
qfiles = [entry for entry in qfiles if not matcher(entry[1])]
|
||||||
|
Loading…
Reference in New Issue
Block a user