[modules/contrib/dnf] fix undefined "widget" error
while refactoring, i overlooked that the variable "widget" doesn't exist anymore. see #692
This commit is contained in:
parent
db41792afb
commit
362d1a5f6f
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ class Module(core.module.Module):
|
|||
return "/".join(result)
|
||||
|
||||
def update(self):
|
||||
widget = self.widget()
|
||||
res = util.cli.execute("dnf updateinfo", ignore_errors=True)
|
||||
|
||||
security = 0
|
||||
|
|
Loading…
Reference in a new issue