FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore: remove use of '%' string formatter in `gitlab/utils.py` · srini387/python-gitlab@0c5a121 · GitHub

Repository navigation

Commit 0c5a121

Browse files
chore: remove use of '%' string formatter in gitlab/utils.py
Replace usage with f-string
1 parent dea9435 commit 0c5a121

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎gitlab/utils.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,6 @@ def _validate_attrs(
183183
)
184184
if not exclusives:
185185
raise AttributeError(
186-
"Must provide one of these attributes: %(attrs)s"
187-
% {"attrs": ", ".join(attributes.exclusive)}
186+
f"Must provide one of these attributes: "
187+
f"{', '.join(attributes.exclusive)}"
188188
)

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL