X-Git-Url: https://gerrit.onap.org/r/gitweb?p=dcaegen2%2Fplatform.git;a=blobdiff_plain;f=mod%2Fdistributorapi%2Fdistributor%2Futils.py;fp=mod%2Fdistributorapi%2Fdistributor%2Futils.py;h=c8449bf8081447ad39e96e01f7993996466a9765;hp=7457d5a881e53ac5dc28293a42a8a6efa41ebd0a;hb=56591bbb09719e040b15cc8842e4bf6b18e28962;hpb=743c1d1034101fa676e98b6ffbf39592e2ca8b20 diff --git a/mod/distributorapi/distributor/utils.py b/mod/distributorapi/distributor/utils.py index 7457d5a..c8449bf 100644 --- a/mod/distributorapi/distributor/utils.py +++ b/mod/distributorapi/distributor/utils.py @@ -1,5 +1,5 @@ # ============LICENSE_START======================================================= -# Copyright (c) 2019 AT&T Intellectual Property. All rights reserved. +# Copyright (c) 2019-2022 AT&T Intellectual Property. All rights reserved. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -26,7 +26,7 @@ def urljoin(base, *trailing, **query_params): url = "/".join(full) if query_params: - qp = ["{0}={1}".format(quote(k), quote(str(v))) for k,v in query_params.items()] + qp = ["{0}={1}".format(quote(k), quote(str(v))) for k, v in query_params.items()] qp = "&".join(qp) return "?".join([url, qp]) else: