Mercurial > kallithea
changeset 7816:c1aff621ed54
flake8: fix E231 missing whitespace after ':'
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sun, 04 Aug 2019 01:15:36 +0200 |
parents | 72c4b2d720ea |
children | 66e8dbd4b571 |
files | kallithea/lib/celerylib/tasks.py kallithea/model/validators.py |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/lib/celerylib/tasks.py Sun Aug 04 00:59:42 2019 +0200 +++ b/kallithea/lib/celerylib/tasks.py Sun Aug 04 01:15:36 2019 +0200 @@ -169,11 +169,11 @@ if k >= ts_min_y and k <= ts_max_y or skip_date_limit: co_day_auth_aggr[akc(cs.author)] = { "label": akc(cs.author), - "data": [{"time":k, - "commits":1, - "added":len(cs.added), - "changed":len(cs.changed), - "removed":len(cs.removed), + "data": [{"time": k, + "commits": 1, + "added": len(cs.added), + "changed": len(cs.changed), + "removed": len(cs.removed), }], "schema": ["commits"], }
--- a/kallithea/model/validators.py Sun Aug 04 00:59:42 2019 +0200 +++ b/kallithea/model/validators.py Sun Aug 04 01:15:36 2019 +0200 @@ -268,7 +268,7 @@ if value.get(password_field) != value[password_confirmation_field]: msg = self.message('password_mismatch', state) raise formencode.Invalid(msg, value, state, - error_dict={password_field:msg, password_confirmation_field: msg} + error_dict={password_field: msg, password_confirmation_field: msg} ) return _validator