Make pylint happy
This commit is contained in:
parent
4743558a68
commit
0b9829bc77
1 changed files with 9 additions and 9 deletions
|
@ -71,12 +71,12 @@ class Module(bumblebee.engine.Module):
|
||||||
pid = process.pid
|
pid = process.pid
|
||||||
os.kill(pid, 9)
|
os.kill(pid, 9)
|
||||||
|
|
||||||
def state(self, widget):
|
def state(self, _):
|
||||||
if self._active:
|
if self._active:
|
||||||
return "activated"
|
return "activated"
|
||||||
return "deactivated"
|
return "deactivated"
|
||||||
|
|
||||||
def _toggle(self, event):
|
def _toggle(self, _):
|
||||||
missing = self._check_requirements()
|
missing = self._check_requirements()
|
||||||
if missing:
|
if missing:
|
||||||
logging.warning("Could not run caffeine - missing {}!".format(", ".join(missing)))
|
logging.warning("Could not run caffeine - missing {}!".format(", ".join(missing)))
|
||||||
|
|
Loading…
Reference in a new issue