Cleaned up Path op utilities
This commit is contained in:
@@ -26,7 +26,7 @@ import FreeCADGui
|
||||
import PathScripts
|
||||
from PySide import QtCore
|
||||
|
||||
"""Path SimpleCopy command"""
|
||||
__doc__ = """Path SimpleCopy command"""
|
||||
|
||||
|
||||
# Qt translation handling
|
||||
@@ -47,7 +47,7 @@ class CommandPathSimpleCopy:
|
||||
try:
|
||||
obj = FreeCADGui.Selection.getSelectionEx()[0].Object
|
||||
return isinstance(obj.Proxy, PathScripts.PathOp.ObjectOp)
|
||||
except Exception:
|
||||
except Exception: # pylint: disable=broad-except
|
||||
return False
|
||||
|
||||
def Activated(self):
|
||||
|
||||
Reference in New Issue
Block a user