Cleanup pylint error: logging_not_lazy
un-suppress the pylint error check for logging_not_lazy, and update the code to fix that error Tests Plan: PASS: system helm-override-update Story: 2008943 Task: 44011 Signed-off-by: Jia Hu <jia.hu@windriver.com> Change-Id: Ia271d9fb9f1ccf0af36ed55cd0a02029a3b6c876
This commit is contained in:
parent
2b44504c65
commit
dd3056c21b
|
@ -389,7 +389,7 @@ class HTTPClient(httplib2.Http):
|
|||
resp_body = None
|
||||
self._extract_service_catalog(resp_body)
|
||||
|
||||
_logger.debug("Authenticated user %s" % self.username)
|
||||
_logger.debug("Authenticated user %s", self.username)
|
||||
|
||||
def get_auth_info(self):
|
||||
return {'auth_token': self.auth_token,
|
||||
|
|
|
@ -132,12 +132,11 @@ enable=E1603,E1609,E1610,E1602,E1606,E1608,E1607,E1605,E1604,E1601,E1611,W1652,
|
|||
# W0622: redefined-builtin
|
||||
# W0631: undefined-loop-variable
|
||||
# W0703: broad-except
|
||||
# W1201: logging-not-lazy
|
||||
# W1401: anomalous-backslash-in-string
|
||||
# W1618: no-absolute-import
|
||||
disable=C, R, fixme, W0105, W0108, W0110, W0120, W0123,
|
||||
W0201, W0212, W0231, W0235, W0402, W0403, W0603, W0611,
|
||||
W0612, W0613, W0621, W0622, W0631, W0703, W1201, W1401,
|
||||
W0612, W0613, W0621, W0622, W0631, W0703, W1401,
|
||||
W1618
|
||||
|
||||
[REPORTS]
|
||||
|
|
Loading…
Reference in New Issue