From e240040cc6d4c206498e8cfc27429f898ba5dab7 Mon Sep 17 00:00:00 2001 From: Ilya Ganelin Date: Mon, 15 Jun 2015 08:09:11 -0700 Subject: [PATCH] Style --- python/pyspark/sql/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyspark/sql/types.py b/python/pyspark/sql/types.py index c282b1860078c..39f52e48ec811 100644 --- a/python/pyspark/sql/types.py +++ b/python/pyspark/sql/types.py @@ -371,7 +371,7 @@ def __init__(self, fields=None): else: self.fields = fields assert all(isinstance(f, StructField) for f in fields),\ - "fields should be a list of StructField" + "fields should be a list of StructField" def add(self, name_or_struct_field, data_type=None, nullable=True, metadata=None): """