Skip to content

Commit f56e1ac

Browse files
committed
Tweak code formatting in Remote._set_cache_
For slightly easier reading.
1 parent 3958747 commit f56e1ac

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: git/remote.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,10 @@ def _set_cache_(self, attr: str) -> None:
575575
if attr == "_config_reader":
576576
# NOTE: This is cached as __getattr__ is overridden to return remote config
577577
# values implicitly, such as in print(r.pushurl).
578-
self._config_reader = SectionConstraint(self.repo.config_reader("repository"), self._config_section_name())
578+
self._config_reader = SectionConstraint(
579+
self.repo.config_reader("repository"),
580+
self._config_section_name(),
581+
)
579582
else:
580583
super()._set_cache_(attr)
581584

0 commit comments

Comments
 (0)