Should be errors=strict since we don't want to end up matching hosts like '???'
This commit is contained in:
parent
13b295f1ee
commit
228ad3ca39
1 changed files with 1 additions and 1 deletions
|
@ -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":
|
||||||
|
|
Loading…
Reference in a new issue