Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a3aa88e

Browse files
authored
Merge pull request rethinkdb#135 from alexa-infra/fix-import-eof-check
Fix StopIteration in the case of EOF (import/restore)
2 parents 54d3200 + e825fc5 commit a3aa88e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

rethinkdb/_import.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -372,9 +372,6 @@ def batches(self, batch_size=None, warning_queue=None):
372372
if self.indexes:
373373
self.restore_indexes(warning_queue)
374374

375-
# -
376-
raise e
377-
378375
def setup_file(self, warning_queue=None):
379376
raise NotImplementedError("Subclasses need to implement this")
380377

0 commit comments

Comments
 (0)