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

Re: [tor-bugs] #14804 [Stem]: Confusing arguments to run_tests.py



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs