The first two lines of BaseTool.__init__ are redundant and will never be run. The can safely be removed.
|
def __init__(self, component=None, **kwtraits): |
|
if "component" in kwtraits: |
|
component = kwtraits["component"] |
|
super(BaseTool, self).__init__(**kwtraits) |
|
self.component = component |
The first two lines of
BaseTool.__init__are redundant and will never be run. The can safely be removed.enable/enable/base_tool.py
Lines 126 to 130 in 84f75d3