Mercurial > kallithea
changeset 4277:452f3d4a9ceb
db: make code less convoluted
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Fri, 28 Jun 2013 02:26:04 +0200 |
parents | 432e86d1e555 |
children | 62f43e26af28 |
files | kallithea/model/db.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/model/db.py Wed Jun 12 02:13:02 2013 +0200 +++ b/kallithea/model/db.py Fri Jun 28 02:26:04 2013 +0200 @@ -290,8 +290,7 @@ .filter(cls.app_settings_name.startswith('auth_')).all() fd = {} for row in ret: - fd.update({row.app_settings_name: row.app_settings_value}) - + fd[row.app_settings_name] = row.app_settings_value return fd @classmethod