Cleanup: remove redundant braces from assert & raise
autopep8 v1.7 added a space after assert & raise, remove the braces as they aren't needed.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user