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:
@@ -452,7 +452,7 @@ def lightmap_uvpack(
|
||||
pretty_faces.append(pf_parent)
|
||||
|
||||
w, h = pf_parent.width, pf_parent.height
|
||||
assert(w <= h)
|
||||
assert w <= h
|
||||
|
||||
if w == h:
|
||||
even_dict.setdefault(w, []).append(pf_parent)
|
||||
|
||||
Reference in New Issue
Block a user