Fix exception

As per commit f9dd406465, some tests ran after Logging.testLogging
fail with a unicode-related exception.
This commit is contained in:
Vincent Jacques
2012-09-17 20:30:28 +02:00
parent f9dd406465
commit 2ad48a9206
+1 -1
View File
@@ -114,7 +114,7 @@ class Requester:
logger = Logging.get_logger()
if logger.isEnabledFor(logging.DEBUG):
logger.debug(' '.join(map(unicode, [verb, self.__base_url + url, parameters, input, "==>", status, str(headers), str(output)])))
logger.debug(' '.join(map(str, [verb, self.__base_url + url, parameters, input, "==>", status, str(headers), str(output)])))
return status, headers, output
def __completeUrl( self, url, parameters ):