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

[tor-bugs] #25158 [Metrics/Consensus Health]: Don't assume everyone uses your symlink structure.



#25158: Don't assume everyone uses your symlink structure.
------------------------------------------+-----------------
     Reporter:  tom                       |      Owner:  tom
         Type:  defect                    |     Status:  new
     Priority:  Medium                    |  Milestone:
    Component:  Metrics/Consensus Health  |    Version:
     Severity:  Normal                    |   Keywords:
Actual Points:                            |  Parent ID:
       Points:                            |   Reviewer:
      Sponsor:                            |
------------------------------------------+-----------------
 {{{
 os.chdir(os.path.join(os.path.dirname(__file__), 'stem'))
                 stem_version = subprocess.check_output(['git', 'rev-
 parse', '--short', 'HEAD'])
                 os.chdir('../../')
 }}}

 You should navigate down to stem and then navigate out of it using
 os.path.dirname(__file__).

 Also you should double check that the stem version is different from
 depictor, to make sure you captured it correctly.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25158>
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