[Pkg-privacy-commits] [onioncircuits] 26/39: Fix circuit details when using bridges with old stem
Sascha Steinbiss
sascha at steinbiss.name
Sun May 15 16:40:46 UTC 2016
This is an automated email from the git hooks/post-receive script.
sascha-guest pushed a commit to branch master
in repository onioncircuits.
commit 2b5aa9914640c9b3b916f90fc3f7a0fcb08bb805
Author: Alan <alan at boum.org>
Date: Sun May 15 13:28:45 2016 +0000
Fix circuit details when using bridges with old stem
The fix in 9043a5a didn't work with stem 1.2 (debian jessie) because it has no
stem.DescriptorUnavailable exception. Use more generic stem.OperationFailed instead.
Will-fix: #11195
---
onioncircuits | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/onioncircuits b/onioncircuits
index 1ecda2a..2125f06 100755
--- a/onioncircuits
+++ b/onioncircuits
@@ -582,7 +582,8 @@ class OnionCircuitsWindow(Gtk.ApplicationWindow):
"""
try:
status_entry = self.controller.get_network_status(fingerprint)
- except stem.DescriptorUnavailable:
+ # XXX: we should use stem.DescriptorUnavailable once we have stem 1.4
+ except stem.OperationFailed:
status_entry = None
if status_entry:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onioncircuits.git
More information about the Pkg-privacy-commits
mailing list