From 009954e6a8f26efb1184c2edde49e9c1f6f5d72c Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Thu, 7 Jan 2010 14:35:30 +0100 Subject: [PATCH] Fix long lines. --- sphinx/util/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sphinx/util/__init__.py b/sphinx/util/__init__.py index 0d88ddeae..b641a8dcd 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])]