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

[tor-commits] [stem/master] Drop unused error_attr attribute



commit d2c6adf33a3d087a19d469ead0719cb8c3389f27
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Fri Jul 26 10:27:50 2019 -0700

    Drop unused error_attr attribute
    
    Removing an unused attribute that is no longer set nor read. This was added in
    commit aebf3e4 to retain original stacktraces, then effectively reverted in
    commit 8c61fc8 without removing this attribute.
---
 stem/descriptor/remote.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/stem/descriptor/remote.py b/stem/descriptor/remote.py
index f715d743..251fc26f 100644
--- a/stem/descriptor/remote.py
+++ b/stem/descriptor/remote.py
@@ -477,8 +477,7 @@ class Query(object):
     self.fall_back_to_authority = fall_back_to_authority
 
     self.content = None
-    self.error = None  # TODO: maybe remove in favor of error_attr in stem 2.x
-    self._error_attr = None
+    self.error = None
     self.is_done = False
     self.download_url = None
 



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