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:
Diffstat (limited to 'source/tests/pep8.py')
-rw-r--r--source/tests/pep8.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tests/pep8.py b/source/tests/pep8.py
index d12397ea81d..ccaaeb7c0cd 100644
--- a/source/tests/pep8.py
+++ b/source/tests/pep8.py
@@ -43,7 +43,7 @@ FORCE_PEP8_ALL = False
def file_list_py(path):
for dirpath, dirnames, filenames in os.walk(path):
for filename in filenames:
- if filename.endswith(".py") or filename.endswith(".cfg"):
+ if filename.endswith((".py", ".cfg")):
yield os.path.join(dirpath, filename)