Merge pull request #729 from spxtr/patch-1
Fix arch-updates off-by-one.
This commit is contained in:
commit
d1e9e7e8bb
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class Module(core.module.Module):
|
||||||
)
|
)
|
||||||
|
|
||||||
if code == 0:
|
if code == 0:
|
||||||
self.__packages = len(result.split("\n"))
|
self.__packages = len(result.strip().split("\n"))
|
||||||
elif code == 2:
|
elif code == 2:
|
||||||
self.__packages = 0
|
self.__packages = 0
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue