diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-14 09:18:59 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-14 09:18:59 +0300 |
commit | 39c341bf4ab9582edc26227447634cae2004baa6 (patch) | |
tree | dce6d8f00adbca2b3b6c7be99119507023beab92 /release/scripts/startup/bl_operators/uvcalc_lightmap.py | |
parent | 260b75a952f40961d3e06c9a7f48ec9b696bf169 (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 'release/scripts/startup/bl_operators/uvcalc_lightmap.py')
-rw-r--r-- | release/scripts/startup/bl_operators/uvcalc_lightmap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_operators/uvcalc_lightmap.py b/release/scripts/startup/bl_operators/uvcalc_lightmap.py index 93c72c97129..995ec721046 100644 --- a/release/scripts/startup/bl_operators/uvcalc_lightmap.py +++ b/release/scripts/startup/bl_operators/uvcalc_lightmap.py @@ -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) |