app: Add unique ID to each app class

Also maintain a global list of apps

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2019-06-13 20:17:59 -04:00
1 parent e55a85bdd1
commit 46f162d093
53 files changed
+141 -5

No files matched your search

+2
View File
@@ -38,6 +38,8 @@ app = None
class ApacheApp(app_module.App):
"""FreedomBox app for Apache web server."""
app_id = 'apache'
def __init__(self):
"""Create components for the app."""
super().__init__()