[modules/arch-update] fix typo
This commit is contained in:
parent
3033c6646c
commit
5dcf9f9c9d
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class Module(core.module.Module):
|
||||||
try:
|
try:
|
||||||
result = util.cli.execute("checkupdates")
|
result = util.cli.execute("checkupdates")
|
||||||
self.__packages = len(result.split("\n")) - 1
|
self.__packages = len(result.split("\n")) - 1
|
||||||
except as e:
|
except Exception as e:
|
||||||
logging.exception(e)
|
logging.exception(e)
|
||||||
self.__packages = -1
|
self.__packages = -1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue