Should be errors=strict since we don't want to end up matching hosts like '???'

This commit is contained in:
Toshio Kuratomi 2016-03-24 09:25:37 -07:00
parent 13b295f1ee
commit 228ad3ca39

View file

@ -96,7 +96,7 @@ class AdHocCLI(CLI):
super(AdHocCLI, self).run() super(AdHocCLI, self).run()
# only thing left should be host pattern # only thing left should be host pattern
pattern = to_unicode(self.args[0]) pattern = to_unicode(self.args[0], errors='strict')
# ignore connection password cause we are local # ignore connection password cause we are local
if self.options.connection == "local": if self.options.connection == "local":