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
path: root/tests
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-02-13 08:09:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-02-13 08:17:00 +0300
commit616eb6818fdcf074eae31daa47c2ed581638b672 (patch)
tree1ac98eec7d3c15a4dd04db20e93150622a2c3319 /tests
parent1ae2098a6e04359b82e52d239906f7e3f86c949c (diff)
cleanup
Diffstat (limited to 'tests')
-rw-r--r--tests/python/batch_import.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/python/batch_import.py b/tests/python/batch_import.py
index dea08b45c3a..8fc679a7c15 100644
--- a/tests/python/batch_import.py
+++ b/tests/python/batch_import.py
@@ -78,7 +78,9 @@ def batch_import(operator="",
path = os.path.abspath(path)
match_upper = match.upper()
- pattern_match = lambda a: fnmatch.fnmatchcase(a.upper(), match_upper)
+
+ def pattern_match(a):
+ return fnmatch.fnmatchcase(a.upper(), match_upper)
def file_generator(path):
for dirpath, dirnames, filenames in os.walk(path):