Skip to content

Commit 72868e6

Browse files
committed
Merge pull request tarantool#74 from zevlg/master
+ fix for TypeError: cannot concatenate 'str' and 'Response' objects
2 parents 0c92f44 + 86612c7 commit 72868e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tarantool/schema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def get_space(self, space):
7979
if space_row is None:
8080
space_row = self.con.select(const.SPACE_SPACE, space, index=_index)
8181
if len(space_row) > 1:
82-
raise SchemaError('Some strange output from server: \n' + space_row)
82+
raise SchemaError('Some strange output from server: \n' + str(space_row))
8383
elif len(space_row) == 0 or not len(space_row[0]):
8484
temp_name = ('name' if isinstance(space, six.string_types) else 'id')
8585
raise SchemaError(
@@ -109,7 +109,7 @@ def get_index(self, space, index):
109109
index=_index)
110110

111111
if len(index_row) > 1:
112-
raise SchemaError('Some strange output from server: \n' + index_row)
112+
raise SchemaError('Some strange output from server: \n' + str(index_row))
113113
elif len(index_row) == 0 or not len(index_row[0]):
114114
temp_name = ('name' if isinstance(index, six.string_types) else 'id')
115115
raise SchemaError(

0 commit comments

Comments
 (0)