[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [bridgedb/master] Add skip coverage pragma to bridgedb.Main code for block files.



commit d8495e1ebf08c3aecfba4895598ca0ca7e3f7299
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Sat Feb 21 22:47:21 2015 +0000

    Add skip coverage pragma to bridgedb.Main code for block files.
---
 lib/bridgedb/Main.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bridgedb/Main.py b/lib/bridgedb/Main.py
index 83b60a4..d274fcd 100644
--- a/lib/bridgedb/Main.py
+++ b/lib/bridgedb/Main.py
@@ -177,7 +177,7 @@ def load(state, splitter, clear=False):
 
     # XXX TODO refactor the next block according with new parsers for OONI
     # bridge-reachability reports:
-    if state.COUNTRY_BLOCK_FILE:
+    if state.COUNTRY_BLOCK_FILE:  # pragma: no cover
         logging.info("Opening Blocking Countries file %s"
                      % state.COUNTRY_BLOCK_FILE)
         f = open(state.COUNTRY_BLOCK_FILE)



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits