[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [flashproxy/master] Bail out after OSError on running registration helper.



commit 9e0953c2fd595f0640d68147471a48dca4480756
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Sun Sep 23 21:42:20 2012 -0700

    Bail out after OSError on running registration helper.
---
 flashproxy-client |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/flashproxy-client b/flashproxy-client
index 83f620a..692a0f0 100755
--- a/flashproxy-client
+++ b/flashproxy-client
@@ -670,6 +670,7 @@ def register_one():
         stdout, stderr = p.communicate()
     except OSError, e:
         log(u"Error running registration helper: %s" % str(e))
+        return
     for line in stdout.splitlines():
         log(line)
     for line in stderr.splitlines():

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits