diff options
author | John L. Villalovos <john@sodarock.com> | 2021-04-18 14:55:37 -0700 |
---|---|---|
committer | John L. Villalovos <john@sodarock.com> | 2021-04-18 14:55:37 -0700 |
commit | 443b93482e29fecc12fdbd2329427b37b05ba425 (patch) | |
tree | b5f005231612cb9c5a8886bfac88c2fdd3346bb2 /gitlab/utils.py | |
parent | 916a7fe4661b3822a0a93fc75fb72d80f550582d (diff) | |
download | gitlab-443b93482e29fecc12fdbd2329427b37b05ba425.tar.gz |
chore: remove unused function sanitize_parameters()
The function sanitize_parameters() was used when the v3 API was in
use. Since v3 API support has been removed there are no more users of
this function.
Diffstat (limited to 'gitlab/utils.py')
-rw-r--r-- | gitlab/utils.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gitlab/utils.py b/gitlab/utils.py index 45a4af8..91b3fb0 100644 --- a/gitlab/utils.py +++ b/gitlab/utils.py @@ -60,14 +60,6 @@ def clean_str_id(id: str) -> str: return quote(id, safe="") -def sanitize_parameters(value): - if isinstance(value, dict): - return dict((k, sanitize_parameters(v)) for k, v in value.items()) - if isinstance(value, str): - return quote(value, safe="") - return value - - def sanitized_url(url: str) -> str: parsed = urlparse(url) new_path = parsed.path.replace(".", "%2E") |