mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-02 03:41:08 +00:00
Fix exception
As per commit f9dd406465, some tests ran after Logging.testLogging
fail with a unicode-related exception.
This commit is contained in:
+1
-1
@@ -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 ):
|
||||
|
||||
Reference in New Issue
Block a user