Skip to content

Commit

Permalink
Readd makeurl debug output
Browse files Browse the repository at this point in the history
was lost in refactoring commit 3f14cef
yet it was very useful to discover API queries
  • Loading branch information
bmwiedemann committed Mar 21, 2024
1 parent 1bf2264 commit c8ee1c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions osc/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, ""))

Expand Down

0 comments on commit c8ee1c6

Please sign in to comment.