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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-09-14 09:18:59 +0300
committerCampbell Barton <campbell@blender.org>2022-09-14 09:18:59 +0300
commit39c341bf4ab9582edc26227447634cae2004baa6 (patch)
treedce6d8f00adbca2b3b6c7be99119507023beab92 /source
parent260b75a952f40961d3e06c9a7f48ec9b696bf169 (diff)
Cleanup: remove redundant braces from assert & raise
autopep8 v1.7 added a space after assert & raise, remove the braces as they aren't needed.
Diffstat (limited to 'source')
-rwxr-xr-xsource/blender/datatoc/datatoc_icon.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/datatoc/datatoc_icon.py b/source/blender/datatoc/datatoc_icon.py
index 7373df71318..84cef0457a6 100755
--- a/source/blender/datatoc/datatoc_icon.py
+++ b/source/blender/datatoc/datatoc_icon.py
@@ -75,8 +75,8 @@ def icon_merge(file_src, pixels_canvas, canvas_w, canvas_h):
orig_x, orig_y,
w_canvas_test, h_canvas_test) = head
- assert(w_canvas_test == canvas_w)
- assert(h_canvas_test == canvas_h)
+ assert w_canvas_test == canvas_w
+ assert h_canvas_test == canvas_h
for x in range(icon_w):
for y in range(icon_h):