fixups
Change-Id: I120865555596b2671c6e8aa65841f3ea984c7e03
This commit is contained in:
@ -86,8 +86,8 @@ class DemoEncoder(MessageEncoder):
|
||||
def _encode_ProtocollError(self, msgtype, msgname, msgargs):
|
||||
return '~ProtocolError~ %s.%s.%r' % (msgtype, msgname, msgargs)
|
||||
|
||||
def _encode_NoSuchDeviceError(self, device):
|
||||
return '~NoSuchDeviceError~ %s' % device
|
||||
def _encode_NoSuchModuleError(self, device):
|
||||
return '~NoSuchModuleError~ %s' % device
|
||||
|
||||
def _encode_NoSuchParamError(self, device, param):
|
||||
return '~NoSuchParameterError~ %s:%s' % (device, param)
|
||||
|
Reference in New Issue
Block a user