*: 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
@@ -22,8 +22,6 @@ from . import manifest
from .forms import is_repo_url
from .manifest import GIT_REPO_PATH
version = 1
_description = [
_('Git is a distributed version-control system for tracking changes in '
'source code during software development. Gitweb provides a web '
@@ -44,6 +42,8 @@ class GitwebApp(app_module.App):
app_id = 'gitweb'
_version = 1
def __init__(self):
"""Create components for the app."""
super().__init__()
@@ -52,7 +52,7 @@ class GitwebApp(app_module.App):
self.repos = []
info = app_module.Info(app_id=self.app_id, version=version,
info = app_module.Info(app_id=self.app_id, version=self._version,
name=_('Gitweb'), icon_filename='gitweb',
short_description=_('Simple Git Hosting'),
description=_description, manual_page='GitWeb',