Mercurial > kallithea
changeset 1991:9e0db8d8d616 beta
changed warning log message for reading hgrc files, it was confusing. It's just an indication of the fact
that there is no such file...
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 14 Feb 2012 23:09:25 +0200 |
parents | 24c1ba054b9b |
children | 335b55caa81d |
files | rhodecode/lib/utils.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/lib/utils.py Tue Feb 14 23:04:09 2012 +0200 +++ b/rhodecode/lib/utils.py Tue Feb 14 23:09:25 2012 +0200 @@ -259,14 +259,14 @@ baseui = ui.ui() - #clean the baseui object + # clean the baseui object baseui._ocfg = config.config() baseui._ucfg = config.config() baseui._tcfg = config.config() if read_from == 'file': if not os.path.isfile(path): - log.warning('Unable to read config file %s' % path) + log.debug('hgrc file is not present at %s skipping...' % path) return False log.debug('reading hgrc from %s' % path) cfg = config.config() @@ -279,8 +279,8 @@ elif read_from == 'db': sa = meta.Session ret = sa.query(RhodeCodeUi)\ - .options(FromCache("sql_cache_short", - "get_hg_ui_settings")).all() + .options(FromCache("sql_cache_short", "get_hg_ui_settings"))\ + .all() hg_ui = ret for ui_ in hg_ui: