Fixed for Travis CI

This commit is contained in:
schroeji 2015-09-17 13:42:22 +02:00
parent e6d88abaae
commit 1e6e42a3d8

View File

@ -7,6 +7,7 @@ some packeges might be counted twice.
from i3pystatus.core.command import run_through_shell
from i3pystatus.updates import Backend
class Yaourt(Backend):
@property
@ -14,4 +15,4 @@ class Yaourt(Backend):
command = ["yaourt", "-Qua"]
checkupdates = run_through_shell(command)
return checkupdates.out.count('\n')
Backend = Yaourt
Backend = Yaourt