From f8983872ad4297ddb3017f4818edd08892dd2129 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 1 Feb 2013 16:07:00 -0500 Subject: [PATCH] BF: return str(host) to avoid spurious characters in the logs (Close gh-113) thanks to opoplawski@github --- server/failregex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/failregex.py b/server/failregex.py index 8ce9597a..b194d472 100644 --- a/server/failregex.py +++ b/server/failregex.py @@ -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)