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:
@@ -461,7 +461,7 @@ class BlenderAction(argparse.Action):
|
||||
except ArgumentTypeError as ex:
|
||||
raise ArgumentTypeError("Invalid 'action' arguments \"%s\" at index %d, %s" % (value, index, str(ex)))
|
||||
# Validation should never yield any events.
|
||||
assert(not dummy_result)
|
||||
assert not dummy_result
|
||||
|
||||
return (op, args, kwargs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user