Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf56e1ac

Browse files
committed
Tweak code formatting in Remote._set_cache_
For slightly easier reading.
1 parent3958747 commitf56e1ac

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
ifattr=="_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)

[8]ページ先頭

©2009-2025 Movatter.jp