Skip to content

Commit 4832d2d

Browse files
committed
removed extra self/
1 parent b82579d commit 4832d2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

easybuild/tools/filetools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,9 +758,9 @@ def find_easyconfigs(path, ignore_dirs=None):
758758
return files
759759

760760

761-
def find_glob_pattern(self, glob_pattern, fail_on_no_match=True):
761+
def find_glob_pattern(glob_pattern, fail_on_no_match=True):
762762
"""Find unique file/dir matching glob_pattern (raises error if more than one match is found)"""
763-
if self.dry_run:
763+
if build_option('extended_dry_run'):
764764
return glob_pattern
765765
res = glob.glob(glob_pattern)
766766
if len(res) == 0 and not fail_on_no_match:

0 commit comments

Comments
 (0)