Commits

Atamert Ölçgen committed b6c9589

Added break to avoid trying to remove an item twice

  • Participants
  • Parent commits 19eb0af

Comments (0)

Files changed (1)

django_coverage/utils/module_tools/module_walker.py

         for regex in regexes:
             if regex.search(path):
                 dirs.remove(dir_)
+                break
 
 def _get_all_packages(pkg_name, pkg, blacklist, exclude_dirs):
     packages = Packages().packages