mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-16 02:26:13 +01: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:
parent
1bf2264427
commit
c8ee1c613b
@ -3656,6 +3656,7 @@ def makeurl(apiurl: str, path: List[str], query: Optional[dict] = None):
|
|||||||
query[f"{key}[]"] = value
|
query[f"{key}[]"] = value
|
||||||
|
|
||||||
query_str = urlencode(query, doseq=True)
|
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, ""))
|
return urlunsplit((apiurl_scheme, apiurl_netloc, path_str, query_str, ""))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user