BF: return str(host) to avoid spurious characters in the logs (Close gh-113)

thanks to opoplawski@github
This commit is contained in:
Yaroslav Halchenko 2013-02-01 16:07:00 -05:00
parent 5f2d3832f7
commit f8983872ad

View file

@ -130,4 +130,4 @@ class FailRegex(Regex):
s = self._matchCache.string
r = self._matchCache.re
raise RegexException("No 'host' found in '%s' using '%s'" % (s, r))
return host
return str(host)