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