remove dead code
This commit is contained in:
parent
5dddeddffd
commit
0b3863fb52
|
@ -13,10 +13,6 @@ MB = 1000*1000
|
||||||
CHANNEL_EXPIRATION_TIME = 3*DAY
|
CHANNEL_EXPIRATION_TIME = 3*DAY
|
||||||
EXPIRATION_CHECK_PERIOD = 2*HOUR
|
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():
|
def generate_mailbox_id():
|
||||||
return base64.b32encode(os.urandom(8)).lower().strip(b"=").decode("ascii")
|
return base64.b32encode(os.urandom(8)).lower().strip(b"=").decode("ascii")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user