Merge "Use parenthesis instead of backslashes in scheduler folder"

This commit is contained in:
Jenkins 2017-06-19 12:10:19 +00:00 committed by Gerrit Code Review
commit e2216e5e5c
1 changed files with 3 additions and 3 deletions

View File

@ -626,9 +626,9 @@ class HostManager(object):
host, pool.pool_name)
host_name = share_utils.extract_host(
fully_qualified_pool_name, level='host')
backend_name = share_utils.extract_host(
fully_qualified_pool_name, level='backend').split('@')[1] \
if '@' in fully_qualified_pool_name else None
backend_name = (share_utils.extract_host(
fully_qualified_pool_name, level='backend').split('@')[1]
if '@' in fully_qualified_pool_name else None)
pool_name = share_utils.extract_host(
fully_qualified_pool_name, level='pool')