[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [stem/master] Error message printed wrong arg
commit 8a746ba1023a521cdb09a068ab68102a0ca75498
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date: Wed Jan 2 18:48:38 2013 -0800
Error message printed wrong arg
Drats. Just got an unexpected exception for this that I can't repro, and the
stacktrace had the wrong attribute... >:(
---
stem/control.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/stem/control.py b/stem/control.py
index a0a40ba..b1525a9 100644
--- a/stem/control.py
+++ b/stem/control.py
@@ -1929,7 +1929,7 @@ def _parse_circ_entry(entry):
fingerprint = fingerprint[1:] # strip off the leading '$'
if nickname is not None and not stem.util.tor_tools.is_valid_nickname(nickname):
- raise stem.ProtocolError("Nickname in the circuit path is malformed (%s)" % fingerprint)
+ raise stem.ProtocolError("Nickname in the circuit path is malformed (%s)" % nickname)
return (fingerprint, nickname)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits