Show More
@@ -266,7 +266,7 b" def make_ui(read_from='file', path=None," | |||
|
266 | 266 | |
|
267 | 267 | if read_from == 'file': |
|
268 | 268 | if not os.path.isfile(path): |
|
269 | log.warning('Unable to read config file %s' % path) | |
|
269 | log.debug('hgrc file is not present at %s skipping...' % path) | |
|
270 | 270 | return False |
|
271 | 271 | log.debug('reading hgrc from %s' % path) |
|
272 | 272 | cfg = config.config() |
@@ -279,8 +279,8 b" def make_ui(read_from='file', path=None," | |||
|
279 | 279 | elif read_from == 'db': |
|
280 | 280 | sa = meta.Session |
|
281 | 281 | ret = sa.query(RhodeCodeUi)\ |
|
282 | .options(FromCache("sql_cache_short", | |
|
283 | "get_hg_ui_settings")).all() | |
|
282 | .options(FromCache("sql_cache_short", "get_hg_ui_settings"))\ | |
|
283 | .all() | |
|
284 | 284 | |
|
285 | 285 | hg_ui = ret |
|
286 | 286 | for ui_ in hg_ui: |
General Comments 0
You need to be logged in to leave comments.
Login now