[tor-commits] [flashproxy/master] Fix a type error in a log message.

infinity0 at torproject.org infinity0 at torproject.org
Mon Oct 28 14:47:41 UTC 2013


commit dce34bab36501355389ab18a1bfa1bc700b28838
Author: David Fifield <david at bamsoftware.com>
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:





More information about the tor-commits mailing list