[tor-bugs] #14804 [Stem]: Confusing arguments to run_tests.py
    Tor Bug Tracker & Wiki 
    blackhole at torproject.org
       
    Mon Feb  9 03:43:26 UTC 2015
    
    
  
#14804: Confusing arguments to run_tests.py
---------------------------+--------------------
     Reporter:  Sebastian  |      Owner:  atagar
         Type:  defect     |     Status:  new
     Priority:  normal     |  Milestone:
    Component:  Stem       |    Version:
   Resolution:             |   Keywords:
Actual Points:             |  Parent ID:
       Points:             |
---------------------------+--------------------
Comment (by atagar):
 Oops! You're right, we treat '-t' as being shorthand for both and due to
 ordering it becomes in effect '--targets'...
 {{{
 elif opt in ('-t', '--targets'):
   ... parse...
 elif opt in ('-t', '--test'):
   ... more parsing...
 }}}
 Easy to fix. Thanks for the catch!
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14804#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
    
    
More information about the tor-bugs
mailing list