From 0b3863fb52e552ff507ab31907875f26de634ab8 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Fri, 27 May 2016 18:10:27 -0700 Subject: [PATCH] remove dead code --- src/wormhole/server/rendezvous.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/wormhole/server/rendezvous.py b/src/wormhole/server/rendezvous.py index d439fbb..96470f6 100644 --- a/src/wormhole/server/rendezvous.py +++ b/src/wormhole/server/rendezvous.py @@ -13,10 +13,6 @@ MB = 1000*1000 CHANNEL_EXPIRATION_TIME = 3*DAY EXPIRATION_CHECK_PERIOD = 2*HOUR -def get_sides(row): - return set([s for s in [row["side1"], row["side2"]] if s]) -def make_sides(sides): - return list(sides) + [None] * (2 - len(sides)) def generate_mailbox_id(): return base64.b32encode(os.urandom(8)).lower().strip(b"=").decode("ascii")