From 1b3dc4eaa33b3126403a7d905b5cf31676837cf6 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Thu, 4 Jun 2015 10:16:40 +0100 Subject: [PATCH] fix missing space around operator style This is an error in PEP8 but not in pylint. --- python/pyspark/rdd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyspark/rdd.py b/python/pyspark/rdd.py index a86fae6d2edb8..da9d11f689aef 100644 --- a/python/pyspark/rdd.py +++ b/python/pyspark/rdd.py @@ -708,7 +708,7 @@ def pipe_objs(out): pipe.wait() if pipe.returncode: raise Exception("Pipe function `%s' exited " - "with error code %d" %(command, pipe.returncode)) + "with error code %d" % (command, pipe.returncode)) return result return self.mapPartitions(func)