[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [flashproxy/master] Return proper True or False from put_reg.
commit 3b6b1dc96ca672274b760f13d23c88f9b82dfd6f
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date: Fri Mar 15 22:01:18 2013 -0700
Return proper True or False from put_reg.
This avoids a spurious "already present" log message.
Part of a commit by Arlo Breault:
https://github.com/arlolra/flashproxy/commit/3c08ad9c9ea506dfaf158d41128fefa5d6bca39e
---
facilitator/facilitator | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/facilitator/facilitator b/facilitator/facilitator
index a4e0fb8..b1f761b 100755
--- a/facilitator/facilitator
+++ b/facilitator/facilitator
@@ -322,7 +322,7 @@ def put_reg(reg):
addr_str = reg.host
af = addr_af(addr_str)
REGS = regs_for_af(af)
- REGS.add(reg)
+ return REGS.add(reg)
def main():
opts, args = getopt.gnu_getopt(sys.argv[1:], "dhl:p:r:",
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits