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

Elena Grandi valhalla-guest at moszumanska.debian.org
Tue Sep 13 13:59:12 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 d0101efdf224cf463db351f7f78977ae25428571
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 55a3c8e..afc49e4 100644
--- a/test_gnupg.py
+++ b/test_gnupg.py
@@ -23,7 +23,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