Ignore the pylint warning of unbalanced-tuple-unpacking in utils script 25/312025/1
authorzhouhao <haozhou.zhou@samsung.com>
Mon, 3 Jun 2024 03:36:32 +0000 (11:36 +0800)
committerzhouhao <haozhou.zhou@samsung.com>
Mon, 3 Jun 2024 03:36:32 +0000 (11:36 +0800)
Change-Id: I5105706e44582f2e38e1609426ec7948330cb2fb
Signed-off-by: zhouhao <haozhou.zhou@samsung.com>
gitbuildsys/utils.py

index c24dbbcef0330fd848a2bb5aef1478ad9ca97cc9..481c09825e52e8baf24383a9e7296152c467795c 100644 (file)
@@ -245,7 +245,7 @@ class URLGrabber(object):
         except pycurl.error as err:
             log.debug('fetching error:%s' % str(err))
 
-            errcode, errmsg = err.args
+            errcode, errmsg = err.args # pylint: disable=unbalanced-tuple-unpacking
             http_code = curl.getinfo(pycurl.HTTP_CODE)
 
             if errcode == pycurl.E_OPERATION_TIMEOUTED or http_code == 503: