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

Elena Grandi valhalla-guest at moszumanska.debian.org
Wed Aug 17 18:02:58 UTC 2016


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 cafe16d56926ea0b93d74c15d5896519206c8814
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 01f86ff..ed7cc0d 100644
--- a/gnupg.py
+++ b/gnupg.py
@@ -692,7 +692,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 6f6b66c..0adaab2 100644
--- a/test_gnupg.py
+++ b/test_gnupg.py
@@ -24,7 +24,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