Nicer code
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
This commit is contained in:
parent
8e92bc70a7
commit
b7e9056b81
|
@ -85,7 +85,7 @@ class RepoDirStructure():
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def config(self) -> ClonerConfig:
|
def config(self) -> ClonerConfig:
|
||||||
self.has_config
|
assert self.has_config
|
||||||
if not self._config:
|
if not self._config:
|
||||||
parser = ClonerConfigParser(self.__config_filename)
|
parser = ClonerConfigParser(self.__config_filename)
|
||||||
self._config = parser.config
|
self._config = parser.config
|
||||||
|
|
Loading…
Reference in New Issue
Block a user