From: Thomas Mansencal Date: Thu, 30 Jul 2015 10:17:52 +0000 (+1200) Subject: Improve loop construct. X-Git-Url: http://users.mur.at/ms/git/gitweb/?p=OpenColorIO-Configs.git;a=commitdiff_plain;h=7a4fc682918ad7556041773dad14802cd73d15e7 Improve loop construct. --- diff --git a/aces_1.0.0/python/aces_ocio/aces_config.py b/aces_1.0.0/python/aces_ocio/aces_config.py index 0b8a220..7c067ce 100755 --- a/aces_1.0.0/python/aces_ocio/aces_config.py +++ b/aces_1.0.0/python/aces_ocio/aces_config.py @@ -487,7 +487,7 @@ def integrate_looks_into_views(looks, output_colorspace_c = copy.deepcopy(output_colorspace) # for look_name in look_names: - for i in range(len(look_names)): + for i, look_name in enumerate(look_names): look_name = look_names[i] # Add the LookTransform to the head of the