We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 774620c commit e7a8a68Copy full SHA for e7a8a68
easybuild/framework/easyconfig/easyconfig.py
@@ -835,7 +835,7 @@ def count_files(self):
835
836
# No need to resolve templates as we only need a count not the names
837
with self.disable_templating():
838
- cnt = len(self['sources']) + len(self['data_sources']) + len(self['patches'])
+ cnt = sum(len(self[k]) for k in ['data_sources', 'sources', 'patches'])
839
exts = self['exts_list']
840
841
for ext in exts:
0 commit comments