[tor-commits] [stem/master] Update fallback directory caching url

atagar at torproject.org atagar at torproject.org
Tue May 7 14:57:36 UTC 2019


commit 9ac0abcce0897f195e22a845f1a210320bf11064
Author: Damian Johnson <atagar at torproject.org>
Date:   Tue May 7 07:56:18 2019 -0700

    Update fallback directory caching url
    
    Tor rearranged its files. Accounting for this in our caching script. Thanks to
    teor for pointing this out!
    
      https://trac.torproject.org/projects/tor/ticket/29877
---
 cache_fallback_directories.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cache_fallback_directories.py b/cache_fallback_directories.py
index 49ea22f4..137ce1a0 100755
--- a/cache_fallback_directories.py
+++ b/cache_fallback_directories.py
@@ -18,8 +18,8 @@ try:
 except ImportError:
   import urllib2 as urllib
 
-GITWEB_MAN_LOG = 'https://gitweb.torproject.org/tor.git/log/src/or/fallback_dirs.inc'
-FALLBACK_DIR_LINK = "href='/tor.git/commit/src/or/fallback_dirs.inc\?id=([^']*)'"
+GITWEB_MAN_LOG = 'https://gitweb.torproject.org/tor.git/log/src/app/config/fallback_dirs.inc'
+FALLBACK_DIR_LINK = "href='/tor.git/commit/src/app/config/fallback_dirs.inc\?id=([^']*)'"
 
 if __name__ == '__main__':
   try:



More information about the tor-commits mailing list