[Trivial fix]Remove unnecessary slash

This is to remove the unncessary slash when the line doesn't
exceed the length of 79, to make the code more readable.

Change-Id: I881dd037494ffe5e82a7e086337775933641dd4e
This commit is contained in:
zhufl 2019-05-06 17:39:17 +08:00
parent 3374cba06c
commit de09b7f40d
1 changed files with 1 additions and 2 deletions

View File

@ -94,8 +94,7 @@ class IndexCommands(object):
plugins_reindex = [
doc_type for doc_type, plugin in es_reindex.items()
if plugin.resource_group_name == group]
alias_search = \
[a for a in resource_groups if a[0] == group][0][1]
alias_search = [a for a in resource_groups if a[0] == group][0][1]
LOG.info("ES Reindex start from %(src)s to %(dst)s "
"for types %(types)s" %
{'src': alias_search, 'dst': index_names[group],