Commit c05eeb69f0a6659a1b54a63dc1856a4abab7311b
1 parent
291441f9
Exists in
master
and in
4 other branches
Fixed flake8
Signed-off-by: Gustavo Jaruga <darksshades@gmail.com> Signed-off-by: Sergio Oliveira <seocam@seocam.com>
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
colab/accounts/forms.py
| @@ -179,7 +179,8 @@ class ColabSetPasswordFormMixin(object): | @@ -179,7 +179,8 @@ class ColabSetPasswordFormMixin(object): | ||
| 179 | 179 | ||
| 180 | def clean_new_password2(self): | 180 | def clean_new_password2(self): |
| 181 | try: | 181 | try: |
| 182 | - password = super(ColabSetPasswordFormMixin, self).clean_new_password2() | 182 | + password = super(ColabSetPasswordFormMixin, |
| 183 | + self).clean_new_password2() | ||
| 183 | except AttributeError: | 184 | except AttributeError: |
| 184 | password = self.cleaned_data['new_password2'] | 185 | password = self.cleaned_data['new_password2'] |
| 185 | 186 |