Pylons/venusian — pull request #16 by lorenzogil (2012-09-23 18:45:06+00:00)
Title:  Pass the ignore argument to the recursive call

Otherwise we can only ignore top level packages

This is my use case in a Pyramid application:

config.scan(ignore=[re.compile('.*tests.*').search, '.testing'])

And without this patch, it is not ignoring the second level packages, which include tests.