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

[tor-commits] [stem/master] Tor manual url changed



commit a3eab95d6a888e002c8a6695dcc0556f22ccd2f5
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Sat Jul 18 15:39:54 2020 -0700

    Tor manual url changed
    
    Tor moved this file into a 'man' directory. Updating the url. This addresses
    the following test failure...
    
      ======================================================================
      FAIL: test_attributes
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/home/atagar/Desktop/stem/test/integ/manual.py", line 154, in test_attributes
          self.requires_downloaded_manual()
        File "/home/atagar/Desktop/stem/test/integ/manual.py", line 97, in requires_downloaded_manual
          self.fail(self.download_error)
      AssertionError: Unable to download the man page: Unable to download tor's manual from https://gitweb.torproject.org/tor.git/plain/doc/tor.1.txt to /tmp/tmpsqm54_lg/tor.1.txt: HTTP Error 404: Not found
---
 stem/manual.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stem/manual.py b/stem/manual.py
index b98f601c..2ce5a6ff 100644
--- a/stem/manual.py
+++ b/stem/manual.py
@@ -67,7 +67,7 @@ import stem.util.system
 from typing import Any, BinaryIO, Dict, List, Mapping, Optional, Sequence, Tuple, Union
 
 Category = stem.util.enum.Enum('GENERAL', 'CLIENT', 'RELAY', 'DIRECTORY', 'AUTHORITY', 'HIDDEN_SERVICE', 'DENIAL_OF_SERVICE', 'TESTING', 'UNKNOWN')
-GITWEB_MANUAL_URL = 'https://gitweb.torproject.org/tor.git/plain/doc/tor.1.txt'
+GITWEB_MANUAL_URL = 'https://gitweb.torproject.org/tor.git/plain/doc/man/tor.1.txt'
 CACHE_PATH = os.path.join(os.path.dirname(__file__), 'cached_manual.sqlite')
 DATABASE = None  # cache database connections
 HAS_ENCODING_ARG = not stem.util.system.is_mac() and not stem.util.system.is_bsd() and not stem.util.system.is_slackware()



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