[tor-commits] [depictor/master] Manipulate the query object directly to avoid it removing the .z suffix (when we update stem)
tom at torproject.org
tom at torproject.org
Tue Jul 10 19:58:46 UTC 2018
commit 862a966e8f346c8a25016a141b81339cecd84ae3
Author: Tom Ritter <tom at ritter.vg>
Date: Tue Jul 10 14:57:42 2018 -0500
Manipulate the query object directly to avoid it removing the .z suffix (when we update stem)
Closes #25782
---
utility.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/utility.py b/utility.py
index d4f9a68..6b2ee54 100755
--- a/utility.py
+++ b/utility.py
@@ -57,7 +57,10 @@ def _get_documents(label, resource):
resource,
endpoints = [(authority.address, authority.dir_port)],
default_params = False,
+ start = False
)
+ # Re-add the .z suffix per #25782
+ query.resource = query.resource + ".z"
try:
start_time = time.time()
More information about the tor-commits
mailing list