[tor-commits] [flashproxy/master] Always log the "Registering" message.

dcf at torproject.org dcf at torproject.org
Sun Sep 23 23:19:05 UTC 2012


commit a88fc15875e6ccf5bade81839443a9a4674a1a1c
Author: David Fifield <david at bamsoftware.com>
Date:   Sun Sep 23 15:39:45 2012 -0700

    Always log the "Registering" message.
---
 flashproxy-client |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/flashproxy-client b/flashproxy-client
index e80c879..637cdc5 100755
--- a/flashproxy-client
+++ b/flashproxy-client
@@ -650,9 +650,8 @@ def register():
         return
     command = [os.path.join(script_dir, "flashproxy-reg-http")]
     spec = format_addr(options.register_addr)
-    if options.facilitator_url is None:
-        log(u"Registering \"%s\"." % spec)
-    else:
+    log(u"Registering \"%s\"." % spec)
+    if options.facilitator_url is not None:
         command += ["-f", options.facilitator_url]
     command += [spec]
     try:





More information about the tor-commits mailing list