The unified diff between revisions [332117b8..] and [0565c3d4..] is displayed below. It can also be downloaded as a raw diff.

#
#
# patch "addrhash.py"
#  from [a6fbea11980ff892ae44f119d9aa01a61ef31aa1]
#    to [d6af16eefb47910ed3631ddf82e72f9021e91e58]
#
# patch "policy.py"
#  from [780ab2393824a55553ebe012bae921526d97c607]
#    to [c5dcd21eeefba2cf4500050cf66bca513711a89a]
#
============================================================
--- addrhash.py	a6fbea11980ff892ae44f119d9aa01a61ef31aa1
+++ addrhash.py	d6af16eefb47910ed3631ddf82e72f9021e91e58
@@ -41,7 +41,6 @@ def encode(ip_string):
 def encode(ip_string):
     enc = wrap_with_hmac(socket.inet_pton(socket.AF_INET, ip_string))
     enc = get_cipher().encrypt(enc)
-    print base64.b32encode(enc)
     return base64.b32encode(enc).lower().rstrip('\n').rstrip('=')

 def decode(email_address):
============================================================
--- policy.py	780ab2393824a55553ebe012bae921526d97c607
+++ policy.py	c5dcd21eeefba2cf4500050cf66bca513711a89a
@@ -6,6 +6,7 @@ def log_rejection(req, reason):
 import sys

 def log_rejection(req, reason):
+    return
     print >>sys.stderr, req, reason

 if __name__ == '__main__':
@@ -33,17 +34,16 @@ if __name__ == '__main__':
     req = {}
     while True:
         line = sys.stdin.readline()
-        if line == '':
-            break
-        line = line.strip()
-        if not line:
+        stripped = line.strip()
+        if line == '' or stripped == '':
             try: response = check(req)
             except: response = "DUNNO"
             print response
             req = {}
-        else:
+        if line == '':
+            break
+        if stripped:
             sp = line.split('=', 1)
             if len(sp) != 2:
                 continue
             req[sp[0]] = sp[1]
-