Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-09-28 16:03:03 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-09-28 16:03:03 +0300
commitd2d0b4fcd7f0fdb42cfbbbc6b708a6748b4d474f (patch)
tree1691015bf462cf0ca67142fd4b52a7380b3a05c9 /tests/python/modules
parent3341d42ad5669edde09025043be9a221f7ee789b (diff)
parentde3ee3c6e842692a32182f3349bc1c76cde14683 (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'tests/python/modules')
-rwxr-xr-xtests/python/modules/render_report.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/python/modules/render_report.py b/tests/python/modules/render_report.py
index 1f0022f13b6..8deed25e854 100755
--- a/tests/python/modules/render_report.py
+++ b/tests/python/modules/render_report.py
@@ -51,10 +51,11 @@ def print_message(message, type=None, status=''):
def blend_list(dirpath):
- for filename in os.listdir(dirpath):
- if filename.lower().endswith(".blend"):
- filepath = os.path.join(dirpath, filename)
- yield filepath
+ for root, dirs, files in os.walk(dirpath):
+ for filename in files:
+ if filename.lower().endswith(".blend"):
+ filepath = os.path.join(root, filename)
+ yield filepath
def test_get_name(filepath):