diff options
| author | Georg Brandl <georg@python.org> | 2010-01-07 14:35:30 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2010-01-07 14:35:30 +0100 |
| commit | e2b2c18361671e9a4df173a4c75a0a340628e437 (patch) | |
| tree | eb3a500a8b70ed1bcb9852820e832725fbdf3493 /sphinx/util | |
| parent | 1e6203f8b8567565f3614af1776d2301874ae052 (diff) | |
| download | sphinx-e2b2c18361671e9a4df173a4c75a0a340628e437.tar.gz | |
Fix long lines.
Diffstat (limited to 'sphinx/util')
| -rw-r--r-- | sphinx/util/__init__.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sphinx/util/__init__.py b/sphinx/util/__init__.py index 0d88ddea..b641a8dc 100644 --- a/sphinx/util/__init__.py +++ b/sphinx/util/__init__.py @@ -117,10 +117,10 @@ def get_matching_files(dirname, exclude_patterns=()): for root, dirs, files in walk(dirname, followlinks=True): relativeroot = root[dirlen:] - qdirs = enumerate(path.join(relativeroot, dir).replace(os.path.sep, SEP) - for dir in dirs) - qfiles = enumerate(path.join(relativeroot, file).replace(os.path.sep, SEP) - for file in files) + qdirs = enumerate(path.join(relativeroot, dn).replace(os.path.sep, SEP) + for dn in dirs) + qfiles = enumerate(path.join(relativeroot, fn).replace(os.path.sep, SEP) + for fn in files) for matcher in matchers: qdirs = [entry for entry in qdirs if not matcher(entry[1])] qfiles = [entry for entry in qfiles if not matcher(entry[1])] |
