mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
LGTM: Name unused variable in loop
For loop variable '_nothing' is not used in the loop body. The name 'unused' is used to indicate that a variable is unused. https://pagure.io/freeipa/issue/7344 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
This commit is contained in:
@@ -63,7 +63,7 @@ class Step(Installable):
|
||||
raise AttributeError('parent')
|
||||
|
||||
def _install(self):
|
||||
for _nothing in self._installer(self.parent):
|
||||
for unused in self._installer(self.parent):
|
||||
yield from_(super(Step, self)._install())
|
||||
|
||||
@staticmethod
|
||||
@@ -71,7 +71,7 @@ class Step(Installable):
|
||||
yield
|
||||
|
||||
def _uninstall(self):
|
||||
for _nothing in self._uninstaller(self.parent):
|
||||
for unused in self._uninstaller(self.parent):
|
||||
yield from_(super(Step, self)._uninstall())
|
||||
|
||||
@staticmethod
|
||||
|
Reference in New Issue
Block a user