From 2873fa74eb9b63ed6aadf5e34f82e02c0ccdbd84 Mon Sep 17 00:00:00 2001 From: zhouhao Date: Mon, 3 Jun 2024 11:36:32 +0800 Subject: [PATCH] Ignore the pylint warning of unbalanced-tuple-unpacking in utils script Change-Id: I5105706e44582f2e38e1609426ec7948330cb2fb Signed-off-by: zhouhao --- gitbuildsys/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitbuildsys/utils.py b/gitbuildsys/utils.py index c24dbbc..481c098 100644 --- a/gitbuildsys/utils.py +++ b/gitbuildsys/utils.py @@ -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: -- 2.34.1