[Pkg-privacy-commits] [torbrowser-launcher] 39/48: Fix crash that happens if gpgme is not installed
Roger Shimizu
rosh at moszumanska.debian.org
Mon Sep 4 16:42:35 UTC 2017
This is an automated email from the git hooks/post-receive script.
rosh pushed a commit to branch debian/sid
in repository torbrowser-launcher.
commit b60187e497c3051a57f120e25e20f2ad84c07f6d
Author: Micah Lee <micah at micahflee.com>
Date: Tue Jun 20 15:23:24 2017 -0700
Fix crash that happens if gpgme is not installed
---
torbrowser_launcher/common.py | 1 +
torbrowser_launcher/launcher.py | 1 +
2 files changed, 2 insertions(+)
diff --git a/torbrowser_launcher/common.py b/torbrowser_launcher/common.py
index 52703bd..279894d 100644
--- a/torbrowser_launcher/common.py
+++ b/torbrowser_launcher/common.py
@@ -37,6 +37,7 @@ import re
try:
import gpg
+ gpgme_support = True
except ImportError:
gpgme_support = False
diff --git a/torbrowser_launcher/launcher.py b/torbrowser_launcher/launcher.py
index 2c70b61..6b89fbd 100644
--- a/torbrowser_launcher/launcher.py
+++ b/torbrowser_launcher/launcher.py
@@ -45,6 +45,7 @@ from twisted.internet.error import DNSLookupError, ConnectionRefusedError
try:
import gpg
+ gpgme_support = True
except ImportError:
gpgme_support = False
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/torbrowser-launcher.git
More information about the Pkg-privacy-commits
mailing list