comparison rhodecode/lib/dbmigrate/schema/db_1_3_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 acc05c33cc0c
children fa6ba6727475
comparison
equal deleted inserted replaced
3132:5ba6249a7afe 3133:95b4242a275e
621 .options(FromCache("sql_cache_short", "repository_repo_ui")).all() 621 .options(FromCache("sql_cache_short", "repository_repo_ui")).all()
622 622
623 hg_ui = ret 623 hg_ui = ret
624 for ui_ in hg_ui: 624 for ui_ in hg_ui:
625 if ui_.ui_active: 625 if ui_.ui_active:
626 log.debug('settings ui from db[%s]%s:%s', ui_.ui_section, 626 log.debug('settings ui from db: [%s] %s=%s', ui_.ui_section,
627 ui_.ui_key, ui_.ui_value) 627 ui_.ui_key, ui_.ui_value)
628 baseui.setconfig(ui_.ui_section, ui_.ui_key, ui_.ui_value) 628 baseui.setconfig(ui_.ui_section, ui_.ui_key, ui_.ui_value)
629 629
630 return baseui 630 return baseui
631 631