Fix deprecation warning

This commit is contained in:
Andrew Resch 2009-04-23 20:30:09 +00:00
commit 45a6ea5a19

View file

@ -210,7 +210,7 @@ class DelugeRPCProtocol(Protocol):
RPC_ERROR, RPC_ERROR,
request_id, request_id,
(exceptionType.__name__, (exceptionType.__name__,
exceptionValue.message, exceptionValue.args[0] if len(exceptionValue.args) == 1 else "",
"".join(traceback.format_tb(exceptionTraceback))) "".join(traceback.format_tb(exceptionTraceback)))
)) ))