Permalink
Browse files

Fixing string format

  • Loading branch information...
1 parent 7f11297 commit 871d1495370c8940765bf9fecdabab6925e0d983 @semk semk committed Mar 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 riak/transports/http.py
@@ -244,7 +244,7 @@ def mapred(self, inputs, query, timeout=None):
def check_http_code(self, response, expected_statuses):
status = response[0]['http_code']
if not status in expected_statuses:
- m = 'Expected status ' + str(expected_statuses) + ', received ' + str(status) + ':' + response[1]
+ m = 'Expected status ' + str(expected_statuses) + ', received ' + str(status) + ' : ' + response[1]
raise Exception(m)
def parse_body(self, response, expected_statuses):

0 comments on commit 871d149

Please sign in to comment.