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

[tor-commits] [stem/master] Fix broken get_hidden_service_descriptor action



commit 988aeb121b762f58712bda078d1f13ffa0819bfb
Author: Donncha O'Cearbhaill <donncha@xxxxxxxxxx>
Date:   Sat Feb 27 18:10:25 2016 +0100

    Fix broken get_hidden_service_descriptor action
    
    The `get_hidden_service_descriptor` function takes an onion
    address and a list of hidden service descriptors to fetch the
    hidden service descriptor from.
    
    This commit fixes a bug where a space was missing between the onion
    address and the first SERVER= argument.
---
 stem/control.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stem/control.py b/stem/control.py
index 8918426..1437d2d 100644
--- a/stem/control.py
+++ b/stem/control.py
@@ -1962,7 +1962,7 @@ class Controller(BaseController):
       request = 'HSFETCH %s' % address
 
       if servers:
-        request += ' '.join(['SERVER=%s' % s for s in servers])
+        request += ' ' + ' '.join(['SERVER=%s' % s for s in servers])
 
       response = self.msg(request)
       stem.response.convert('SINGLELINE', response)

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