diff options
author | Nejc Habjan <hab.nejc@gmail.com> | 2021-11-05 21:01:58 +0100 |
---|---|---|
committer | John Villalovos <john@sodarock.com> | 2021-11-08 14:11:40 -0800 |
commit | c0d881064f7c90f6a510db483990776ceb17b9bd (patch) | |
tree | bbe635558a2bfb48fd64f24f48eea1c5b093a029 /gitlab/base.py | |
parent | 472b300154c5e59289d83f0b34d24bc52eb9b6da (diff) | |
download | gitlab-c0d881064f7c90f6a510db483990776ceb17b9bd.tar.gz |
refactor: use new-style formatting for named placeholders
Diffstat (limited to 'gitlab/base.py')
-rw-r--r-- | gitlab/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/base.py b/gitlab/base.py index 85e7d70..db2e149 100644 --- a/gitlab/base.py +++ b/gitlab/base.py @@ -320,7 +320,7 @@ class RESTManager(object): for self_attr, parent_attr in self._from_parent_attrs.items() } self._parent_attrs = data - return path % data + return path.format(**data) @property def path(self) -> Optional[str]: |