[tor-commits] [stem/master] Drop unused error_attr attribute
atagar at torproject.org
atagar at torproject.org
Sat Aug 17 20:44:27 UTC 2019
commit d2c6adf33a3d087a19d469ead0719cb8c3389f27
Author: Damian Johnson <atagar at torproject.org>
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
More information about the tor-commits
mailing list