Fix several things causing tracebacks with unicode cwd (#27731)

Fixes #27511
This commit is contained in:
Toshio Kuratomi
2017-08-04 06:25:08 -07:00
committed by Sam Doran
parent 181b31e282
commit 3f12fccd02
4 changed files with 6 additions and 6 deletions

View File

@@ -161,7 +161,7 @@ class CLI(with_metaclass(ABCMeta, object)):
running an Ansible command.
"""
display.vv(self.parser.get_version())
display.vv(to_text(self.parser.get_version()))
if C.CONFIG_FILE:
display.v(u"Using %s as config file" % to_text(C.CONFIG_FILE))