[Python-modules-commits] [python-gnupg] 08/09: Default on using gpg1 as gpgbinary

Elena Grandi valhalla-guest at moszumanska.debian.org
Sat Jul 22 16:07:10 UTC 2017


This is an automated email from the git hooks/post-receive script.

valhalla-guest pushed a commit to branch master
in repository python-gnupg.

commit 8da095b2385196108f0084da3110e4bec363d4a2
Author: Elena Grandi <valhalla-d at trueelena.org>
Date:   Wed Aug 17 19:39:21 2016 +0200

    Default on using gpg1 as gpgbinary
---
 gnupg.py      | 2 +-
 test_gnupg.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnupg.py b/gnupg.py
index 8f4b856..2a8a9c5 100644
--- a/gnupg.py
+++ b/gnupg.py
@@ -709,7 +709,7 @@ class GPG(object):
     }
 
     "Encapsulate access to the gpg executable"
-    def __init__(self, gpgbinary='gpg', gnupghome=None, verbose=False,
+    def __init__(self, gpgbinary='gpg1', gnupghome=None, verbose=False,
                  use_agent=False, keyring=None, options=None,
                  secret_keyring=None):
         """Initialize a GPG process wrapper.  Options are:
diff --git a/test_gnupg.py b/test_gnupg.py
index 7e3bca0..62324bd 100644
--- a/test_gnupg.py
+++ b/test_gnupg.py
@@ -34,7 +34,7 @@ ALL_TESTS = True
 
 logger = logging.getLogger(__name__)
 
-GPGBINARY = os.environ.get('GPGBINARY', 'gpg')
+GPGBINARY = os.environ.get('GPGBINARY', 'gpg1')
 
 KEYS_TO_IMPORT = """-----BEGIN PGP PUBLIC KEY BLOCK-----
 Version: GnuPG v1.4.9 (MingW32)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-gnupg.git



More information about the Python-modules-commits mailing list