[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [flashproxy/master] Fix a type error in a log message.
commit dce34bab36501355389ab18a1bfa1bc700b28838
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date: Thu Oct 17 03:13:46 2013 -0700
Fix a type error in a log message.
File "./facilitator", line 333, in do_PUT
return self.error(u"Unrecognized transport: %s" % transport)
TypeError: not all arguments converted during string formatting
---
facilitator/facilitator | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/facilitator/facilitator b/facilitator/facilitator
index cbe3d98..71d0293 100755
--- a/facilitator/facilitator
+++ b/facilitator/facilitator
@@ -332,7 +332,7 @@ class Handler(SocketServer.StreamRequestHandler):
transport = Transport.parse(transport)
# See if we have relays that support this transport
if transport.outer not in options.outer_transports:
- return self.error(u"Unrecognized transport: %s" % transport)
+ return self.error(u"Unrecognized transport: %s" % transport.outer)
client_spec = fac.param_first("CLIENT", params)
if client_spec is None:
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits