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:
@@ -55,8 +55,8 @@ def render_gl(context, filepath, shade):
|
||||
|
||||
def render_gl_all_modes(context, obj, filepath=""):
|
||||
|
||||
assert(obj is not None)
|
||||
assert(filepath != "")
|
||||
assert obj is not None
|
||||
assert filepath != ""
|
||||
|
||||
scene = context.scene
|
||||
|
||||
@@ -91,7 +91,7 @@ def render_gl_all_modes(context, obj, filepath=""):
|
||||
|
||||
render_gl(context, filepath + "_wp_wire", shade='WIREFRAME')
|
||||
|
||||
assert(1)
|
||||
assert 1
|
||||
|
||||
bpy.ops.object.mode_set(mode='OBJECT', toggle=False)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user