diff options
-rw-r--r-- | python/pyspark/serializers.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/python/pyspark/serializers.py b/python/pyspark/serializers.py index 9338df69ff..811fa6f018 100644 --- a/python/pyspark/serializers.py +++ b/python/pyspark/serializers.py @@ -179,8 +179,6 @@ class BatchedSerializer(Serializer): yield items def dump_stream(self, iterator, stream): - if isinstance(iterator, basestring): - iterator = [iterator] self.serializer.dump_stream(self._batched(iterator), stream) def load_stream(self, stream): |