[tor-bugs] #22279 [Metrics/metrics-lib]: simplify and avoid repetition in ParserHelper methods

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue May 16 14:24:32 UTC 2017


#22279: simplify and avoid repetition in ParserHelper methods
-------------------------------------+--------------------------
     Reporter:  iwakeh               |      Owner:  metrics-team
         Type:  enhancement          |     Status:  new
     Priority:  Medium               |  Milestone:
    Component:  Metrics/metrics-lib  |    Version:
     Severity:  Normal               |   Keywords:  metrics-help
Actual Points:                       |  Parent ID:
       Points:                       |   Reviewer:
      Sponsor:                       |
-------------------------------------+--------------------------
 Simplify and avoid repetition in ParserHelper methods and tests in
 ExtraInfoDescriptorTest accordingly. Cf. #22217 comments 6 an 7.  This
 includes a minor code clean-up and raising exceptions when duplicate keys
 are encountered.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22279>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list