Cleanup: pep8, remove redundant parenthesis

This commit is contained in:
Campbell Barton
2019-10-30 05:40:36 +11:00
parent 10b83a94d9
commit cff00f6b04
10 changed files with 18 additions and 11 deletions

View File

@@ -717,7 +717,7 @@ def _activate_by_item(context, space_type, item, index):
handle_map = _activate_by_item._cursor_draw_handle
handle = handle_map.pop(space_type, None)
if (handle is not None):
if handle is not None:
WindowManager.draw_cursor_remove(handle)
if item.draw_cursor is not None:
def handle_fn(context, item, tool, xy):