From 253f3562852c57123851148aa7befc77ebd30f90 Mon Sep 17 00:00:00 2001 From: Markus Lampert Date: Sat, 29 Jun 2019 23:27:44 -0700 Subject: [PATCH] Cleaned up pylint warnings for PathGetPoint --- src/Mod/Path/PathScripts/PathGetPoint.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Mod/Path/PathScripts/PathGetPoint.py b/src/Mod/Path/PathScripts/PathGetPoint.py index 56d598001e..fc54f69498 100644 --- a/src/Mod/Path/PathScripts/PathGetPoint.py +++ b/src/Mod/Path/PathScripts/PathGetPoint.py @@ -59,6 +59,14 @@ class TaskPanel: self.onPath = onPath self.obj = None + self.pt = None + self.point = None + self.pointCbClick = None + self.pointCbMove = None + self.pointWhenDone = None + self.escape = None + self.view = None + def setupUi(self): '''setupUi() ... internal function - do not call.''' self.formPoint.buttonBox.accepted.connect(self.pointAccept) @@ -148,6 +156,7 @@ class TaskPanel: self.pointAcceptAndContinue() def cancel(): + # pylint: disable=unused-variable self.pointReject() self.pointWhenDone = whenDone