*: Drop use of module level version

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 2021-12-04 16:38:08 -05:00
1 parent cf36a9d385
commit a3d4d99b33
64 files changed
+207 -199

No files matched your search

+3 -3
View File
@@ -15,8 +15,6 @@ from plinth.modules.letsencrypt.components import LetsEncrypt
from plinth.package import Packages
from plinth.utils import format_lazy, is_valid_user_name
version = 9
app = None
@@ -25,11 +23,13 @@ class ApacheApp(app_module.App):
app_id = 'apache'
_version = 9
def __init__(self):
"""Create components for the app."""
super().__init__()
info = app_module.Info(app_id=self.app_id, version=version,
info = app_module.Info(app_id=self.app_id, version=self._version,
is_essential=True, name=_('Apache HTTP Server'))
self.add(info)