Fix order of args in logs

This commit is contained in:
Guewen Baconnier committed 2018-03-13 15:00:26 +01:00
1 parent 68c161e345
commit 543a9eb22d
1 file changed
+2 -2
+2 -2
View File
@@ -79,10 +79,10 @@ if is_true(os.environ.get('ODOO_SESSION_REDIS')):
if sentinel_host:
_logger.debug("HTTP sessions stored in Redis with prefix '%s'. "
"Using Sentinel on %s:%s",
sentinel_host, sentinel_port, prefix or '')
prefix or '', sentinel_host, sentinel_port)
else:
_logger.debug("HTTP sessions stored in Redis with prefix '%s' on "
"%s:%s", host, port, prefix or '')
"%s:%s", prefix or '', host, port)
http.Root.session_store = session_store
http.session_gc = session_gc
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.