From 9d744cb193dd15b83fd4e2344e8d5eb919f62dab Mon Sep 17 00:00:00 2001
From: Todd Dembrey <todd.dembrey@torchbox.com>
Date: Wed, 24 Jan 2018 11:59:30 +0000
Subject: [PATCH] fixup! Tidy up the code in the clean method of Form

---
 opentech/apply/funds/blocks.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/opentech/apply/funds/blocks.py b/opentech/apply/funds/blocks.py
index 400acd18c..d89b2c318 100644
--- a/opentech/apply/funds/blocks.py
+++ b/opentech/apply/funds/blocks.py
@@ -12,7 +12,7 @@ from opentech.apply.stream_forms.blocks import FormFieldsBlock, FormFieldBlock
 from opentech.apply.categories.blocks import CategoryQuestionBlock
 
 
-def find_duplciates(items):
+def find_duplicates(items):
     counted = Counter(items)
     duplicates = [
         name for name, count in counted.items() if count > 1
@@ -39,7 +39,7 @@ class CustomFormFieldsBlock(FormFieldsBlock):
         missing = set(REQUIRED_BLOCK_NAMES) - set(block_types)
 
         duplicates = [
-            name for name in find_duplciates(block_types)
+            name for name in find_duplicates(block_types)
             if name in REQUIRED_BLOCK_NAMES
         ]
 
-- 
GitLab