Fix typos in module init docs

Intialize -> Initialize

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Nikolas Nyby 2019-07-22 23:24:01 -04:00 committed by Sunil Mohan Adapa
parent bd951fbf2b
commit f81b1751ce
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2
25 changed files with 26 additions and 26 deletions

View File

@ -134,7 +134,7 @@ def on_web_server_stop():
def main():
"""Intialize and start the application"""
"""Initialize and start the application"""
arguments = parse_arguments()
if arguments.develop:

View File

@ -106,7 +106,7 @@ class Component:
is_leader = False
def __init__(self, component_id):
"""Intialize the component."""
"""Initialize the component."""
if not component_id:
raise ValueError('Invalid component ID')
@ -129,7 +129,7 @@ class FollowerComponent(Component):
is_leader = False
def __init__(self, component_id, is_enabled=False):
"""Intialize the component."""
"""Initialize the component."""
super().__init__(component_id)
self._is_enabled = is_enabled

View File

@ -79,7 +79,7 @@ class AvahiApp(app_module.App):
def init():
"""Intialize the service discovery module."""
"""Initialize the service discovery module."""
global app
app = AvahiApp()
if app.is_enabled():

View File

@ -71,7 +71,7 @@ class BackupsApp(app_module.App):
def init():
"""Intialize the module."""
"""Initialize the module."""
global app
app = BackupsApp()

View File

@ -107,7 +107,7 @@ class BindApp(app_module.App):
def init():
"""Intialize the BIND module."""
"""Initialize the BIND module."""
global app
app = BindApp()

View File

@ -94,7 +94,7 @@ class CockpitApp(app_module.App):
def init():
"""Intialize the module."""
"""Initialize the module."""
global app
app = CockpitApp()

View File

@ -87,7 +87,7 @@ class CoquelicotApp(app_module.App):
def init():
"""Intialize the module."""
"""Initialize the module."""
global app
app = CoquelicotApp()

View File

@ -65,7 +65,7 @@ class DateTimeApp(app_module.App):
def init():
"""Intialize the date/time module."""
"""Initialize the date/time module."""
global app
app = DateTimeApp()
if app.is_enabled():

View File

@ -110,7 +110,7 @@ class I2PApp(app_module.App):
def init():
"""Intialize the module."""
"""Initialize the module."""
global app
app = I2PApp()
register_group(group)

View File

@ -87,7 +87,7 @@ class LetsEncryptApp(app_module.App):
def init():
"""Intialize the module."""
"""Initialize the module."""
global app
app = LetsEncryptApp()
app.set_enabled(True)

View File

@ -107,7 +107,7 @@ class Shortcut(frontpage.Shortcut):
def init():
"""Intialize the module."""
"""Initialize the module."""
global app
app = MediaWikiApp()

View File

@ -89,7 +89,7 @@ class MumbleApp(app_module.App):
def init():
"""Intialize the Mumble module."""
"""Initialize the Mumble module."""
global app
app = MumbleApp()

View File

@ -96,7 +96,7 @@ class PagekiteApp(app_module.App):
def init():
"""Intialize the PageKite module"""
"""Initialize the PageKite module"""
global app
app = PagekiteApp()

View File

@ -49,7 +49,7 @@ class SubdomainWidget(forms.widgets.TextInput):
"""Append the domain to the subdomain bootstrap input field"""
def __init__(self, domain, *args, **kwargs):
"""Intialize the widget by storing the domain value."""
"""Initialize the widget by storing the domain value."""
super().__init__(*args, **kwargs)
self.domain = domain

View File

@ -93,7 +93,7 @@ class PrivoxyApp(app_module.App):
def init():
"""Intialize the module."""
"""Initialize the module."""
global app
app = PrivoxyApp()

View File

@ -91,7 +91,7 @@ class RoundcubeApp(app_module.App):
def init():
"""Intialize the module."""
"""Initialize the module."""
global app
app = RoundcubeApp()

View File

@ -109,7 +109,7 @@ class SearxWebserverAuth(Webserver):
def init():
"""Intialize the module."""
"""Initialize the module."""
global app
app = SearxApp()
register_group(group)

View File

@ -89,7 +89,7 @@ class ShadowsocksApp(app_module.App):
def init():
"""Intialize the module."""
"""Initialize the module."""
global app
app = ShadowsocksApp()

View File

@ -72,7 +72,7 @@ class SSHApp(app_module.App):
def init():
"""Intialize the ssh module."""
"""Initialize the ssh module."""
global app
app = SSHApp()
if app.is_enabled():

View File

@ -72,7 +72,7 @@ class StorageApp(app_module.App):
def init():
"""Intialize the module."""
"""Initialize the module."""
global app
app = StorageApp()
app.set_enabled(True)

View File

@ -103,7 +103,7 @@ class SyncthingApp(app_module.App):
def init():
"""Intialize the module."""
"""Initialize the module."""
global app
app = SyncthingApp()
register_group(group)

View File

@ -128,7 +128,7 @@ description = [
def init():
"""Intialize the module."""
"""Initialize the module."""
global app
app = TahoeApp()

View File

@ -102,7 +102,7 @@ class TTRSSApp(app_module.App):
def init():
"""Intialize the module."""
"""Initialize the module."""
global app
app = TTRSSApp()
register_group(group)

View File

@ -65,7 +65,7 @@ class UsersApp(app_module.App):
def init():
"""Intialize the user module."""
"""Initialize the user module."""
global app
app = UsersApp()
app.set_enabled(True)

View File

@ -126,7 +126,7 @@ class AppView(FormView):
port_forwarding_info = None
def __init__(self, *args, **kwargs):
"""Intialize the view."""
"""Initialize the view."""
super().__init__(*args, **kwargs)
self._common_status = None