Fixes for py26 and py33.
This commit is contained in:
parent
da15fb711d
commit
38a4734f95
@ -16,4 +16,4 @@ class ResourceNotFoundError(BadRequest):
|
||||
class StreamNotFoundError(ResourceNotFoundError):
|
||||
def __init__(self, stream_name):
|
||||
super(StreamNotFoundError, self).__init__(
|
||||
'Stream {} under account 123456789012 not found.'.format(stream_name))
|
||||
'Stream {0} under account 123456789012 not found.'.format(stream_name))
|
||||
|
@ -10,7 +10,7 @@ class KinesisResponse(BaseResponse):
|
||||
|
||||
@property
|
||||
def parameters(self):
|
||||
return json.loads(self.body)
|
||||
return json.loads(self.body.decode("utf-8"))
|
||||
|
||||
@property
|
||||
def kinesis_backend(self):
|
||||
|
Loading…
Reference in New Issue
Block a user