Remove redundant parentheses.
authorThomas Mansencal <thomas.mansencal@gmail.com>
Wed, 29 Jul 2015 11:50:01 +0000 (23:50 +1200)
committerThomas Mansencal <thomas.mansencal@gmail.com>
Wed, 29 Jul 2015 11:50:01 +0000 (23:50 +1200)
aces_1.0.0/python/aces_ocio/colorspaces/aces.py
aces_1.0.0/python/aces_ocio/colorspaces/gopro.py
aces_1.0.0/python/aces_ocio/colorspaces/panasonic.py

index 5996b43..e16e5fe 100644 (file)
@@ -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):
index f44dde2..af660e4 100644 (file)
@@ -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
 
index 9dd16f7..72365ed 100644 (file)
@@ -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