[tor-commits] [stem/master] Checking for the pyflakes modules we use

atagar at torproject.org atagar at torproject.org
Sat Jan 4 19:45:32 UTC 2014


commit 32aadbc7f7918d5c9f47a748a288fad16ce5ca69
Author: Damian Johnson <atagar at torproject.org>
Date:   Sat Jan 4 11:44:51 2014 -0800

    Checking for the pyflakes modules we use
    
    Presently our jenkins tests are failing since the system has pyflakes version
    0.5 which evidently doesn't have the pyflakes.api module...
    
      https://trac.torproject.org/10539
    
    Checking explicitly for the modules we use when determining if pyflakes is
    avaialable.
---
 test/util.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/util.py b/test/util.py
index 295f883..a889b92 100644
--- a/test/util.py
+++ b/test/util.py
@@ -166,7 +166,8 @@ def is_pyflakes_available():
   """
 
   try:
-    import pyflakes
+    import pyflakes.api
+    import pyflakes.reporter
     return True
   except ImportError:
     return False



More information about the tor-commits mailing list