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

git/remote.py

Lines changed: 4 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy