Skip to content

Commit

Permalink
Fix for Python 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Flamefire committed Sep 30, 2024
1 parent c55bdf7 commit 501c568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/framework/filetools.py
Original file line number Diff line number Diff line change
Expand Up @@ -2470,7 +2470,7 @@ def test_index_functions(self):
# load_index just returns None if there is no index in specified directory
self.assertEqual(ft.load_index(self.test_prefix), None)

num_files = len(glob.glob(test_ecs + '/**/*.*', recursive=True))
num_files = sum(len(files) for _, _, files in os.walk(test_ecs))

# create index for test easyconfigs;
# test with specified path with and without trailing '/'s
Expand Down

0 comments on commit 501c568

Please sign in to comment.