Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing string format

  • Loading branch information...
commit 871d1495370c8940765bf9fecdabab6925e0d983 1 parent 7f11297
@semk semk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  riak/transports/http.py
View
2  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):
Please sign in to comment.
Something went wrong with that request. Please try again.