Skip to content

Commit 0c5a121

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)