[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/develop] Decrease log noisiness of bridgedb.bridges.Flags.update().
commit 3a098fcb6e623e5b0492f9727cb31204fc17a48d
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Wed Dec 24 08:46:16 2014 +0000
Decrease log noisiness of bridgedb.bridges.Flags.update().
---
lib/bridgedb/bridges.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/bridgedb/bridges.py b/lib/bridgedb/bridges.py
index 5c92898..52abc35 100644
--- a/lib/bridgedb/bridges.py
+++ b/lib/bridgedb/bridges.py
@@ -118,8 +118,10 @@ class Flags(object):
self.stable = 'Stable' in flags
self.valid = 'Valid' in flags
- if self.fast or self.guard or self.running or self.stable or self.valid:
- logging.debug("Parsed Flags: %s" % ' '.join(flags))
+ if not self.running:
+ logging.debug("Bridge doesn't have the Running flag.")
+ if not self.stable:
+ logging.debug("Bridge doesn't have the Stable flag.")
class PluggableTransport(object):
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits