mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
*: Drop use of module level is_essential flag
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
6f791d8806
commit
cf36a9d385
29 files changed
+45
-107
No files matched your search
@@ -12,8 +12,6 @@ from . import manifest
|
||||
|
||||
version = 1
|
||||
|
||||
is_essential = True
|
||||
|
||||
_description = [_('Restart or shut down the system.')]
|
||||
|
||||
app = None
|
||||
@@ -29,7 +27,7 @@ class PowerApp(app_module.App):
|
||||
super().__init__()
|
||||
|
||||
info = app_module.Info(app_id=self.app_id, version=version,
|
||||
is_essential=is_essential, name=_('Power'),
|
||||
is_essential=True, name=_('Power'),
|
||||
description=_description, manual_page='Power')
|
||||
self.add(info)
|
||||
|
||||
|
||||
Reference in new issue
Block a user