From 60684f6e3f158e136f5ad0f92cd6bd3d464a32a4 Mon Sep 17 00:00:00 2001 From: Thomas Mansencal Date: Wed, 29 Jul 2015 23:50:01 +1200 Subject: [PATCH] Remove redundant parentheses. --- aces_1.0.0/python/aces_ocio/colorspaces/aces.py | 2 +- aces_1.0.0/python/aces_ocio/colorspaces/gopro.py | 2 +- aces_1.0.0/python/aces_ocio/colorspaces/panasonic.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/aces_1.0.0/python/aces_ocio/colorspaces/aces.py b/aces_1.0.0/python/aces_ocio/colorspaces/aces.py index 5996b43..e16e5fe 100644 --- a/aces_1.0.0/python/aces_ocio/colorspaces/aces.py +++ b/aces_1.0.0/python/aces_ocio/colorspaces/aces.py @@ -1274,7 +1274,7 @@ def create_ODTs(aces_ctl_directory, 'Output Transform': cs_full} """ - return (colorspaces, displays) + return colorspaces, displays def get_transform_info(ctl_transform): diff --git a/aces_1.0.0/python/aces_ocio/colorspaces/gopro.py b/aces_1.0.0/python/aces_ocio/colorspaces/gopro.py index f44dde2..af660e4 100644 --- a/aces_1.0.0/python/aces_ocio/colorspaces/gopro.py +++ b/aces_1.0.0/python/aces_ocio/colorspaces/gopro.py @@ -72,7 +72,7 @@ def create_protune(gamut, c1 = 113.0 c2 = 1.0 c3 = 112.0 - linear = ((pow(c1, (normalized_code_value)) - c2) / c3) + linear = ((pow(c1, normalized_code_value) - c2) / c3) return linear diff --git a/aces_1.0.0/python/aces_ocio/colorspaces/panasonic.py b/aces_1.0.0/python/aces_ocio/colorspaces/panasonic.py index 9dd16f7..72365ed 100644 --- a/aces_1.0.0/python/aces_ocio/colorspaces/panasonic.py +++ b/aces_1.0.0/python/aces_ocio/colorspaces/panasonic.py @@ -71,7 +71,7 @@ def create_v_log(gamut, c = 0.241514 d = 0.598206 - if (x <= cut_inv): + if x <= cut_inv: return (x - 0.125) / 5.6 else: return pow(10, (x - d) / c) - b -- 1.7.10.4