Fixes for py26 and py33.

This commit is contained in:
Steve Pulec 2014-11-26 11:13:43 -05:00
parent da15fb711d
commit 38a4734f95
2 changed files with 2 additions and 2 deletions

View File

@ -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))

View File

@ -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):