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

[tor-commits] [stem/master] Regression in RUN_PTRACE target



commit 817936496c3176b5bb3c1c03b6ed544fffdade28
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Tue May 23 17:39:20 2017 -0700

    Regression in RUN_PTRACE target
    
    Oops, one of our testing changes caused RUN_PTRACE (and by extension RUN_ALL)
    to start failing...
    
      Traceback (most recent call last):
        File "./run_tests.py", line 474, in <module>
          main()
        File "./run_tests.py", line 277, in main
          if target_prereq and our_version < stem.version.Requirement(target_prereq):
      TypeError: 'Enum' object is not callable
---
 run_tests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run_tests.py b/run_tests.py
index 725dd5a..2bb75fc 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -274,7 +274,7 @@ def main():
 
       target_prereq = CONFIG['target.prereq'].get(target)
 
-      if target_prereq and our_version < stem.version.Requirement(target_prereq):
+      if target_prereq and our_version < stem.version.Requirement[target_prereq]:
         skipped_targets[target] = target_prereq
         continue
 

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