From e825fc5282f1672bb73251e55349699f229830dc Mon Sep 17 00:00:00 2001 From: Alexey Vasilyev Date: Sun, 18 Aug 2019 15:33:34 +0200 Subject: [PATCH] import: fix re-raise StopIteration in the case of EOF --- rethinkdb/_import.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/rethinkdb/_import.py b/rethinkdb/_import.py index 032c57c2..3a72a555 100755 --- a/rethinkdb/_import.py +++ b/rethinkdb/_import.py @@ -372,9 +372,6 @@ def batches(self, batch_size=None, warning_queue=None): if self.indexes: self.restore_indexes(warning_queue) - # - - raise e - def setup_file(self, warning_queue=None): raise NotImplementedError("Subclasses need to implement this")