fix issues raising pylint warnings
+ small bug fixes Change-Id: Ib63bf13ad06446d3ec3b8cd0b16f9426cef9e3f4
This commit is contained in:
@ -517,7 +517,7 @@ class SecopClient(ProxyClient):
|
||||
raise ConnectionError('connection closed before reply')
|
||||
action, _, data = entry[2] # pylint: disable=unpacking-non-sequence
|
||||
if action.startswith(ERRORPREFIX):
|
||||
errcls = self.error_map(data[0] + "Error")
|
||||
errcls = self.error_map(data[0])
|
||||
raise errcls(data[1])
|
||||
return entry[2] # reply
|
||||
|
||||
|
Reference in New Issue
Block a user