Remove unused variables in the code

This commit removes unused variables or rename variables as "expected to
be unused" by using "_" prefix.

This covers only cases where fix was easy or only one unused variable
was in a module

Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
Martin Basti committed 2016-09-27 13:35:58 +02:00
1 parent 452b08754d
commit 0f88f8fe88
47 files changed
+54 -69

No files matched your search

+2 -2
View File
@@ -60,7 +60,7 @@ class Step(Installable):
raise AttributeError('parent')
def _install(self):
for nothing in self._installer(self.parent):
for _nothing in self._installer(self.parent):
yield from_(super(Step, self)._install())
@staticmethod
@@ -68,7 +68,7 @@ class Step(Installable):
yield
def _uninstall(self):
for nothing in self._uninstaller(self.parent):
for _nothing in self._uninstaller(self.parent):
yield from_(super(Step, self)._uninstall())
@staticmethod