From adf95faaf824012ffb068f6bd8895a9c8f8cac28 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Fri, 8 Oct 2021 08:16:46 +0200 Subject: [PATCH] Improved typo --- src/cpl_cli/_templates/new/console/source/name/startup.py | 4 +--- src/cpl_cli/_templates/new/library/source/name/startup.py | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/cpl_cli/_templates/new/console/source/name/startup.py b/src/cpl_cli/_templates/new/console/source/name/startup.py index 9bbcf00b..1dcea012 100644 --- a/src/cpl_cli/_templates/new/console/source/name/startup.py +++ b/src/cpl_cli/_templates/new/console/source/name/startup.py @@ -19,12 +19,10 @@ class StartupTemplate(TemplateFileABC): class Startup(StartupABC): - def __init__(sel): + def __init__(): StartupABC.__init__(self) - self._configuration = config self._environment = self._configuration.environment - self._services = services def configure_configuration(self, configuration: ConfigurationABC, environment: ApplicationEnvironment) -> ConfigurationABC: return self._configuration diff --git a/src/cpl_cli/_templates/new/library/source/name/startup.py b/src/cpl_cli/_templates/new/library/source/name/startup.py index 9bbcf00b..9d336b52 100644 --- a/src/cpl_cli/_templates/new/library/source/name/startup.py +++ b/src/cpl_cli/_templates/new/library/source/name/startup.py @@ -19,12 +19,10 @@ class StartupTemplate(TemplateFileABC): class Startup(StartupABC): - def __init__(sel): + def __init__(self): StartupABC.__init__(self) - self._configuration = config self._environment = self._configuration.environment - self._services = services def configure_configuration(self, configuration: ConfigurationABC, environment: ApplicationEnvironment) -> ConfigurationABC: return self._configuration