Fixes for py26 and py33.
This commit is contained in:
parent
da15fb711d
commit
38a4734f95
@ -16,4 +16,4 @@ class ResourceNotFoundError(BadRequest):
|
|||||||
class StreamNotFoundError(ResourceNotFoundError):
|
class StreamNotFoundError(ResourceNotFoundError):
|
||||||
def __init__(self, stream_name):
|
def __init__(self, stream_name):
|
||||||
super(StreamNotFoundError, self).__init__(
|
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
|
@property
|
||||||
def parameters(self):
|
def parameters(self):
|
||||||
return json.loads(self.body)
|
return json.loads(self.body.decode("utf-8"))
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def kinesis_backend(self):
|
def kinesis_backend(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user