##// END OF EJS Templates
logging: dont spawn UI logs across multiple lines
marcink -
r2640:58f3399b default
parent child Browse files
Show More
@@ -356,11 +356,10 b' def config_data_from_db(clear_session=Tr'
356
356
357 ui_settings = settings_model.get_ui_settings()
357 ui_settings = settings_model.get_ui_settings()
358
358
359 ui_data = []
359 for setting in ui_settings:
360 for setting in ui_settings:
360 if setting.active:
361 if setting.active:
361 log.debug(
362 ui_data.append((setting.section, setting.key, setting.value))
362 'settings ui from db: [%s] %s=%s',
363 setting.section, setting.key, setting.value)
364 config.append((
363 config.append((
365 safe_str(setting.section), safe_str(setting.key),
364 safe_str(setting.section), safe_str(setting.key),
366 safe_str(setting.value)))
365 safe_str(setting.value)))
@@ -369,6 +368,9 b' def config_data_from_db(clear_session=Tr'
369 # handles that
368 # handles that
370 config.append((
369 config.append((
371 safe_str(setting.section), safe_str(setting.key), False))
370 safe_str(setting.section), safe_str(setting.key), False))
371 log.debug(
372 'settings ui from db: %s',
373 ','.join(map(lambda s: '[{}] {}={}'.format(*s), ui_data)))
372 if clear_session:
374 if clear_session:
373 meta.Session.remove()
375 meta.Session.remove()
374
376
General Comments 0
You need to be logged in to leave comments. Login now