##// END OF EJS Templates
dispatch: convert exception payload to bytes more carefully...
dispatch: convert exception payload to bytes more carefully We were previously depending on str() doing something reasonable here, and we can't depend on the objects in question supporting __bytes__, so we work around the lack of direct bytes formatting.

File last commit:

r32512:0e8b0b9a default
r32620:3ce53a49 default
Show More
base85.py
10 lines | 302 B | text/x-python | PythonLexer
# base85.py: pure python base85 codec
#
# Copyright (C) 2009 Brendan Cully <brendan@kublai.com>
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
from __future__ import absolute_import
from ..pure.base85 import *