Fix deprecation warning

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

View file

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