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

[tor-commits] [flashproxy/master] Remove unused function.



commit 2f4f4c3d5c5910725837d3aa4c23ac30bb95ffdc
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Sat Jun 29 16:18:18 2013 -0700

    Remove unused function.
    
    Now handled by facilitator-reg-daemon.
---
 facilitator/facilitator-email-poller |   11 -----------
 1 file changed, 11 deletions(-)

diff --git a/facilitator/facilitator-email-poller b/facilitator/facilitator-email-poller
index 2e6bd4a..614cdc9 100755
--- a/facilitator/facilitator-email-poller
+++ b/facilitator/facilitator-email-poller
@@ -207,17 +207,6 @@ if options.privdrop_username is not None:
 if options.imaplib_debug:
     imaplib.Debug = 4
 
-def find_client_addr(body):
-    """Find and parse the first client line of the form
-        client=...
-    Returns None if no client line was found.
-    """
-    for line in body.splitlines():
-        if line.startswith("client="):
-            _, client_spec = line.split("=", 1)
-            return fac.parse_addr_spec(client_spec)
-    return None
-
 def handle_message(msg):
     try:
         if fac.put_reg_base64(msg.get_payload()):



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