From 3228e18d9030e60477572b1207cf098fd2f9daa8 Mon Sep 17 00:00:00 2001 From: Julien Date: Mon, 26 Sep 2022 11:17:02 +0200 Subject: [PATCH] Align xmlrpc verbosity on CLI option --- qgispluginci/release.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qgispluginci/release.py b/qgispluginci/release.py index 26d54206..9a6a53aa 100644 --- a/qgispluginci/release.py +++ b/qgispluginci/release.py @@ -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.")