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

isis at torproject.org isis at torproject.org
Sun Feb 22 00:50:22 UTC 2015


commit d8495e1ebf08c3aecfba4895598ca0ca7e3f7299
Author: Isis Lovecruft <isis at torproject.org>
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)





More information about the tor-commits mailing list