diff options
| author | Ray Ashman Jr <ray.ashman.jr@gmail.com> | 2013-11-02 15:27:47 -0400 |
|---|---|---|
| committer | Ray Ashman Jr <ray.ashman.jr@gmail.com> | 2013-11-02 15:27:47 -0400 |
| commit | dcfc8fa9721955dc4fcfb6e5e506be12f74c5b85 (patch) | |
| tree | db0ff9bc296501a9f8eb5f7b44e3b49652103992 /django/forms/formsets.py | |
| parent | b44d42be6d05e88071844b64c6519223cdd2fa80 (diff) | |
Correct flake8 violation E261
Diffstat (limited to 'django/forms/formsets.py')
| -rw-r--r-- | django/forms/formsets.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/forms/formsets.py b/django/forms/formsets.py index 81e2e8781a..5b2efee82e 100644 --- a/django/forms/formsets.py +++ b/django/forms/formsets.py @@ -244,7 +244,7 @@ class BaseFormSet(object): def compare_ordering_key(k): if k[1] is None: - return (1, 0) # +infinity, larger than any number + return (1, 0) # +infinity, larger than any number return (0, k[1]) self._ordering.sort(key=compare_ordering_key) # Return a list of form.cleaned_data dicts in the order specified by @@ -316,7 +316,7 @@ class BaseFormSet(object): self._errors = [] self._non_form_errors = self.error_class() - if not self.is_bound: # Stop further processing. + if not self.is_bound: # Stop further processing. return for i in range(0, self.total_form_count()): form = self.forms[i] |
