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

[tor-commits] [bridgedb/master] The logging module in py2.6 doesn't have logging.warnings.



commit 7981f9c2c33cb4eeaf9a866d3d287c079ed11e19
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Fri Dec 20 06:11:09 2013 +0000

    The logging module in py2.6 doesn't have logging.warnings.
---
 lib/bridgedb/test/test_Tests.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bridgedb/test/test_Tests.py b/lib/bridgedb/test/test_Tests.py
index 514e90c..4cd834f 100644
--- a/lib/bridgedb/test/test_Tests.py
+++ b/lib/bridgedb/test/test_Tests.py
@@ -29,7 +29,7 @@ from bridgedb import Tests
 from bridgedb.test import deprecated
 
 
-logging.warnings.filterwarnings('ignore', module="Tests")
+warnings.filterwarnings('ignore', module="bridgedb\.Tests")
 pyunit = __import__('unittest')
 
 



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