зеркало из https://github.com/mozilla/morgoth-cli.git
Use newer, renamed version of python-gnupg: pretty-bad-protocol
This commit is contained in:
Родитель
06a2f56465
Коммит
acaa65a411
|
@ -1,6 +1,6 @@
|
|||
import base64
|
||||
import configparser
|
||||
import gnupg
|
||||
from pretty_bad_protocol import gnupg
|
||||
|
||||
from morgoth import CONFIG_PATH
|
||||
|
||||
|
@ -37,8 +37,8 @@ class Settings(object):
|
|||
if not self.get('gpg.fingerprint'):
|
||||
raise GPGImproperlyConfigured()
|
||||
|
||||
return gnupg.GPG(gpgbinary=self.get('gpg.binary', 'gpg'),
|
||||
gnupghome=self.get('gpg.homedir'), use_agent=True)
|
||||
return gnupg.GPG(binary=self.get('gpg.binary', 'gpg'),
|
||||
homedir=self.get('gpg.homedir'), use_agent=True)
|
||||
|
||||
@staticmethod
|
||||
def _parse_key(key):
|
||||
|
|
2
setup.py
2
setup.py
|
@ -11,7 +11,7 @@ setup(
|
|||
'boto3',
|
||||
'Click',
|
||||
'colorama',
|
||||
'python-gnupg',
|
||||
'pretty-bad-protocol',
|
||||
'requests',
|
||||
],
|
||||
entry_points={
|
||||
|
|
Загрузка…
Ссылка в новой задаче