Bulk-upload: empty entries in csv files
Today I got a strange output form a bulk upload:
"Successfully uploaded 37 persons and 24 tasks"
The entries were actully 24 and this number was recorded in the workshop page.

Piotr found out that there were empty cells in the csv files. 

Empty cells should be ignored.

diff --git a/workshops/test/test_util.py b/workshops/test/test_util.py
index b5a8b6bc..071bd3b0 100644
--- a/workshops/test/test_util.py
+++ b/workshops/test/test_util.py
@@ -56,6 +56,15 @@ john,m,doe,john@doe.com"""
         person_tasks, empty_fields = self.compute_from_string(bad_csv)
         self.assertTrue('email' in empty_fields)
 
+    def test_csv_with_empty_lines(self):
+        csv = """personal,middle,family,emailaddress
+john,m,doe,john@doe.com
+,,,"""
+        person_tasks, empty_fields = self.compute_from_string(csv)
+        self.assertEqual(len(person_tasks), 1)
+        person = person_tasks[0]
+        self.assertEqual(person['personal'], 'john')
+
     def test_empty_field(self):
         ''' Ensure we don't mis-order fields given blank data '''
         csv = """personal,middle,family,email
diff --git a/workshops/util.py b/workshops/util.py
index baacb65f..fbb7dcb8 100644
--- a/workshops/util.py
+++ b/workshops/util.py
@@ -71,6 +71,10 @@ def upload_person_task_csv(stream):
     empty_fields = set()
 
     for row in reader:
+        # skip empty lines in the CSV
+        if not any(row.values()):
+            continue
+
         entry = {}
         for col in Person.PERSON_UPLOAD_FIELDS:
             try:
['workshops/util.py', 'workshops/test/test_util.py']