Nicer code

Signed-off-by: Václav Valíček <valicek1994@gmail.com>
This commit is contained in:
Václav Valíček 2022-07-24 21:29:11 +02:00
parent 8e92bc70a7
commit b7e9056b81
Signed by: valicek
GPG Key ID: FF05BDCA0C73BB31

View File

@ -85,7 +85,7 @@ class RepoDirStructure():
@property
def config(self) -> ClonerConfig:
self.has_config
assert self.has_config
if not self._config:
parser = ClonerConfigParser(self.__config_filename)
self._config = parser.config