Match ignore patterns again full filename

This commit is contained in:
Eric Holscher 2015-07-20 10:50:35 -07:00
parent f59203178c
commit 481bf32b15

View File

@ -164,7 +164,7 @@ class SphinxMapperBase(object):
# Skip ignored files # Skip ignored files
for ignore_pattern in ignore: for ignore_pattern in ignore:
if fnmatch.fnmatch(filename, ignore_pattern): if fnmatch.fnmatch(os.path.join(root, filename), ignore_pattern):
self.app.info("Ignoring %s/%s" % (root, filename)) self.app.info("Ignoring %s/%s" % (root, filename))
skip = True skip = True