1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 09:16:16 +02:00

Readd makeurl debug output

was lost in refactoring commit 3f14cef53a
yet it was very useful to discover API queries
This commit is contained in:
Bernhard M. Wiedemann 2024-03-21 19:59:24 +01:00
parent 1bf2264427
commit c8ee1c613b
Signed by untrusted user who does not match committer: bmwiedemann
GPG Key ID: 5DA2F379DDDF022E

View File

@ -3656,6 +3656,7 @@ def makeurl(apiurl: str, path: List[str], query: Optional[dict] = None):
query[f"{key}[]"] = value
query_str = urlencode(query, doseq=True)
_private.print_msg("makeurl:", path_str+"?"+query_str, print_to="debug")
return urlunsplit((apiurl_scheme, apiurl_netloc, path_str, query_str, ""))