Mercurial > kallithea
comparison rhodecode/lib/dbmigrate/schema/db_1_2_0.py @ 3133:95b4242a275e beta
logging: make 'settings ui from db' look more like Mercurial ini file notation
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 02 Jan 2013 13:54:20 +0100 |
parents | 2fd474e63177 |
children | fa6ba6727475 |
comparison
equal
deleted
inserted
replaced
3132:5ba6249a7afe | 3133:95b4242a275e |
---|---|
617 .options(FromCache("sql_cache_short", "repository_repo_ui")).all() | 617 .options(FromCache("sql_cache_short", "repository_repo_ui")).all() |
618 | 618 |
619 hg_ui = ret | 619 hg_ui = ret |
620 for ui_ in hg_ui: | 620 for ui_ in hg_ui: |
621 if ui_.ui_active: | 621 if ui_.ui_active: |
622 log.debug('settings ui from db[%s]%s:%s', ui_.ui_section, | 622 log.debug('settings ui from db: [%s] %s=%s', ui_.ui_section, |
623 ui_.ui_key, ui_.ui_value) | 623 ui_.ui_key, ui_.ui_value) |
624 baseui.setconfig(ui_.ui_section, ui_.ui_key, ui_.ui_value) | 624 baseui.setconfig(ui_.ui_section, ui_.ui_key, ui_.ui_value) |
625 | 625 |
626 return baseui | 626 return baseui |
627 | 627 |