summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-19 12:10:19 +0000
committerGerrit Code Review <review@openstack.org>2017-06-19 12:10:19 +0000
commite2216e5e5ca41b468d762221b00f6a6cef8a37c4 (patch)
tree8d82187c25ff81efc098dc647fc520b9f55c24e0
parent52084ee4f1dc4784d7bb70a4e15d2c7904ef0a66 (diff)
parent8357f68d74bfb84d13aefd6c4cfbed700b49e73b (diff)
Merge "Use parenthesis instead of backslashes in scheduler folder"
-rw-r--r--manila/scheduler/host_manager.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/manila/scheduler/host_manager.py b/manila/scheduler/host_manager.py
index b5d2334..3d1d9ee 100644
--- a/manila/scheduler/host_manager.py
+++ b/manila/scheduler/host_manager.py
@@ -626,9 +626,9 @@ class HostManager(object):
626 host, pool.pool_name) 626 host, pool.pool_name)
627 host_name = share_utils.extract_host( 627 host_name = share_utils.extract_host(
628 fully_qualified_pool_name, level='host') 628 fully_qualified_pool_name, level='host')
629 backend_name = share_utils.extract_host( 629 backend_name = (share_utils.extract_host(
630 fully_qualified_pool_name, level='backend').split('@')[1] \ 630 fully_qualified_pool_name, level='backend').split('@')[1]
631 if '@' in fully_qualified_pool_name else None 631 if '@' in fully_qualified_pool_name else None)
632 pool_name = share_utils.extract_host( 632 pool_name = share_utils.extract_host(
633 fully_qualified_pool_name, level='pool') 633 fully_qualified_pool_name, level='pool')
634 634