Remove section and config parameter from Authenticator

This commit is contained in:
I-Al-Istannen
2021-05-25 15:11:33 +02:00
parent d905e95dbb
commit 0096a0c077
5 changed files with 9 additions and 18 deletions

View File

@ -2,7 +2,6 @@ from typing import Optional, Tuple
import keyring
from ..config import Config
from ..logging import log
from ..utils import agetpass, ainput
from ..version import NAME
@ -23,9 +22,8 @@ class KeyringAuthenticator(Authenticator):
self,
name: str,
section: KeyringAuthSection,
config: Config,
) -> None:
super().__init__(name, section, config)
super().__init__(name)
self._username = section.username()
self._password: Optional[str] = None