commit 4232a73f628836e210af05470c0466a9d8db6ad6 Author: Damian Johnson atagar@torproject.org Date: Sun Jan 13 21:27:33 2013 -0800
AttributeError in _getRelayFingerprint()
Fixing a stacktrace I just got...
File "/home/atagar/Desktop/arm/src/cli/connections/connEntry.py", line 124, in getFingerprint myFingerprint = conn.getRelayFingerprint(self.ipAddr) File "/home/atagar/Desktop/arm/src/util/torTools.py", line 888, in getRelayFingerprint relayFingerprint = self._getRelayFingerprint(relayAddress, relayPort) File "/home/atagar/Desktop/arm/src/util/torTools.py", line 1425, in _getRelayFingerprint if not stem.descriptor.RUNNING in nsEntry.flags:
AttributeError: 'module' object has no attribute 'RUNNING' --- src/util/torTools.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/util/torTools.py b/src/util/torTools.py index c8d12c5..0678177 100644 --- a/src/util/torTools.py +++ b/src/util/torTools.py @@ -1422,7 +1422,7 @@ class Controller: try: nsEntry = self.controller.get_network_status(entryFingerprint)
- if not stem.descriptor.RUNNING in nsEntry.flags: + if not stem.descriptor.Flag.RUNNING in nsEntry.flags: potentialMatches.remove((entryPort, entryFingerprint)) except stem.ControllerError: pass
tor-commits@lists.torproject.org