mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 04:44:15 +02:00
fix: downgrade
This commit is contained in:
@@ -139,7 +139,7 @@ class GenericSoftwareManager(SoftwareManager):
|
||||
man = self._get_manager_for(app)
|
||||
|
||||
if man and app.can_be_downgraded():
|
||||
return man.downgrade_app(app, root_password, handler)
|
||||
return man.downgrade(app, root_password, handler)
|
||||
else:
|
||||
raise Exception("downgrade is not possible for {}".format(app.__class__.__name__))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user