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:
authorCampbell Barton <ideasman42@gmail.com>2012-09-05 00:26:42 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-05 00:26:42 +0400
commitdba5ef3ba88d06c1927872bf4b97e22d0e750546 (patch)
tree55400b4d07fb9b3996da50a080287ccc61c40789 /release
parent1d4316f35fcf2f4b9ed73b648422f4e36a071881 (diff)
code cleanup: python - pass multiple args to string startswith() / endswith() functions rather than calling multiple times.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/modules/addon_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/addon_utils.py b/release/scripts/modules/addon_utils.py
index 433d9024e0a..485b4829b71 100644
--- a/release/scripts/modules/addon_utils.py
+++ b/release/scripts/modules/addon_utils.py
@@ -148,7 +148,7 @@ def modules(module_cache):
for path in path_list:
# force all contrib addons to be 'TESTING'
- if path.endswith("addons_contrib") or path.endswith("addons_extern"):
+ if path.endswith(("addons_contrib", "addons_extern")):
force_support = 'TESTING'
else:
force_support = None