Show More
@@ -45,7 +45,7 b' class Adapter(object):' | |||||
45 | msg['msg_type'] = header['msg_type'] = self.msg_type_map[msg_type] |
|
45 | msg['msg_type'] = header['msg_type'] = self.msg_type_map[msg_type] | |
46 | return msg |
|
46 | return msg | |
47 |
|
47 | |||
48 | def handle_reply_status_error(msg): |
|
48 | def handle_reply_status_error(self, msg): | |
49 | """This will be called *instead of* the regular handler |
|
49 | """This will be called *instead of* the regular handler | |
50 |
|
50 | |||
51 | on any reply with status != ok |
|
51 | on any reply with status != ok | |
@@ -333,4 +333,4 b' def adapt(msg, to_version=kernel_protocol_version_info[0]):' | |||||
333 | adapters = { |
|
333 | adapters = { | |
334 | (5,4) : V5toV4(), |
|
334 | (5,4) : V5toV4(), | |
335 | (4,5) : V4toV5(), |
|
335 | (4,5) : V4toV5(), | |
336 | } No newline at end of file |
|
336 | } |
General Comments 0
You need to be logged in to leave comments.
Login now