projects
/
pgp-mime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fa920e
)
Use configured pgp_mime.LOG.level for crypt client logging.
author
W. Trevor King
<wking@tremily.us>
Mon, 23 Apr 2012 17:39:24 +0000
(13:39 -0400)
committer
W. Trevor King
<wking@tremily.us>
Mon, 23 Apr 2012 17:39:24 +0000
(13:39 -0400)
pgp_mime/crypt.py
patch
|
blob
|
history
diff --git
a/pgp_mime/crypt.py
b/pgp_mime/crypt.py
index 40d4572c5ca6aff846c3680ab7960272f40a62bd..7eec6d6dc40e06a66f607619313068008c6de3d7 100644
(file)
--- a/
pgp_mime/crypt.py
+++ b/
pgp_mime/crypt.py
@@
-33,7
+33,7
@@
def connect(client, filename, **kwargs):
def get_client(**kwargs):
client = _client.AssuanClient(name='pgp-mime', close_on_disconnect=True)
- client.logger.setLevel(_
logging.DEBUG
)
+ client.logger.setLevel(_
LOG.level
)
socket = connect(client, '~/src/gpgme/build/src/gpgme-tool', **kwargs)
#socket = connect(client, '~/.assuan/S.gpgme-tool', **kwargs)
return (client, socket)