[modules/arch-update] quotes
This commit is contained in:
parent
2d12c083c9
commit
7ff95446ee
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ class Module(bumblebee.engine.Module):
|
||||||
|
|
||||||
def check_updates(self):
|
def check_updates(self):
|
||||||
p = subprocess.Popen(
|
p = subprocess.Popen(
|
||||||
"checkupdates", stdout=subprocess.PIPE, shell=True)
|
'checkupdates', stdout=subprocess.PIPE, shell=True)
|
||||||
|
|
||||||
p_status = p.wait()
|
p_status = p.wait()
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ class Module(bumblebee.engine.Module):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def _format(self):
|
def _format(self):
|
||||||
return self.parameter("format", "Update Arch: {}")
|
return self.parameter('format', 'Update Arch: {}')
|
||||||
|
|
||||||
def utilization(self, widget):
|
def utilization(self, widget):
|
||||||
return self._format.format(self.packages)
|
return self._format.format(self.packages)
|
||||||
|
|
Loading…
Reference in a new issue