Skip to content

Commit

Permalink
Merge pull request #161 from opengisch/enhancement/xmlrpc-verbosity
Browse files Browse the repository at this point in the history
Align xmlrpc verbosity on CLI option
  • Loading branch information
Guts authored Sep 26, 2022
2 parents 6c952c7 + 3228e18 commit d9c2e80
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion qgispluginci/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,9 @@ def upload_plugin_to_osgeo(username: str, password: str, archive: str):
"""
address = f"https://{username}:{password}@plugins.qgis.org:443/plugins/RPC2/"

server = xmlrpc.client.ServerProxy(address, verbose=True)
server = xmlrpc.client.ServerProxy(
address, verbose=(logger.getEffectiveLevel() <= 10)
)

try:
logger.debug(f"Start uploading {archive} to QGIS plugins repository.")
Expand Down

0 comments on commit d9c2e80

Please sign in to comment.