Fixed for Travis CI
This commit is contained in:
parent
e6d88abaae
commit
1e6e42a3d8
@ -7,6 +7,7 @@ some packeges might be counted twice.
|
|||||||
from i3pystatus.core.command import run_through_shell
|
from i3pystatus.core.command import run_through_shell
|
||||||
from i3pystatus.updates import Backend
|
from i3pystatus.updates import Backend
|
||||||
|
|
||||||
|
|
||||||
class Yaourt(Backend):
|
class Yaourt(Backend):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@ -14,4 +15,4 @@ class Yaourt(Backend):
|
|||||||
command = ["yaourt", "-Qua"]
|
command = ["yaourt", "-Qua"]
|
||||||
checkupdates = run_through_shell(command)
|
checkupdates = run_through_shell(command)
|
||||||
return checkupdates.out.count('\n')
|
return checkupdates.out.count('\n')
|
||||||
Backend = Yaourt
|
Backend = Yaourt
|
||||||
|
Loading…
Reference in New Issue
Block a user