diff --git a/coalib/parsing/Glob.py b/coalib/parsing/Glob.py index 22a143ad66..e17e4946fd 100644 --- a/coalib/parsing/Glob.py +++ b/coalib/parsing/Glob.py @@ -111,7 +111,7 @@ def iglob(pattern, files=True, dirs=True): for p in selector.collect(): if os.path.isfile(p) and files is True: yield p - elif os.path.isdir(p) and dirs is True: + elif os.path.isdir(p) and dirs is True: # pragma: nocover yield p