From e04bfaaf79879cd6e85c9d8da0c1e63082191109 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 8 Mar 2022 12:28:44 +0500 Subject: minor refactoring --- cgitize/config.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cgitize/config.py b/cgitize/config.py index 925dee7..3fd8aee 100644 --- a/cgitize/config.py +++ b/cgitize/config.py @@ -57,8 +57,8 @@ class MainSection(Section): class ServiceSection(Section, ABC): - def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) + def __init__(self, impl): + super().__init__(impl) self.repositories = RepositoriesSection(self.impl.get('repositories', {})) self.users = UsersSection(self.impl.get('users', {})) @@ -80,8 +80,8 @@ class ServiceSection(Section, ABC): class GitHubSection(ServiceSection): - def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) + def __init__(self, impl): + super().__init__(impl) self.orgs = OrgsSection(self.impl.get('organizations', {})) @property -- cgit v1.2.3