diff options
author | John L. Villalovos <john@sodarock.com> | 2022-05-31 17:43:22 -0700 |
---|---|---|
committer | John L. Villalovos <john@sodarock.com> | 2022-05-31 17:43:22 -0700 |
commit | 0c5a1213ba3bb3ec4ed5874db4588d21969e9e80 (patch) | |
tree | 04a21a9f1da6fe03257bc2240c5e43fb8951945f /gitlab/utils.py | |
parent | dea9435f21ededac998ba878a4fd2def698a3066 (diff) | |
download | gitlab-0c5a1213ba3bb3ec4ed5874db4588d21969e9e80.tar.gz |
chore: remove use of '%' string formatter in `gitlab/utils.py`
Replace usage with f-string
Diffstat (limited to 'gitlab/utils.py')
-rw-r--r-- | gitlab/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/utils.py b/gitlab/utils.py index 7c94569..3cdd967 100644 --- a/gitlab/utils.py +++ b/gitlab/utils.py @@ -183,6 +183,6 @@ def _validate_attrs( ) if not exclusives: raise AttributeError( - "Must provide one of these attributes: %(attrs)s" - % {"attrs": ", ".join(attributes.exclusive)} + f"Must provide one of these attributes: " + f"{', '.join(attributes.exclusive)}" ) |