Skip to content

Commit

Permalink
IG-19406: fix kv_cursor raise_for_status (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
roybabayov authored Sep 23, 2021
1 parent 3adc5a4 commit 7067b93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion v3io/aio/dataplane/kv_cursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ async def next_item(self):
self.sort_key_range_end)

# raise if there was an issue
self._current_response.raise_for_status()
self._current_response.raise_for_status(self.raise_for_status)

# set items
self._current_items = self._current_response.output.items
Expand Down
2 changes: 1 addition & 1 deletion v3io/dataplane/kv_cursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def next_item(self):
self.sort_key_range_end)

# raise if there was an issue
self._current_response.raise_for_status()
self._current_response.raise_for_status(self.raise_for_status)

# set items
self._current_items = self._current_response.output.items
Expand Down

0 comments on commit 7067b93

Please sign in to comment.