diff options
author | drebs <drebs@leap.se> | 2013-01-24 12:38:54 -0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2013-01-24 12:38:54 -0200 |
commit | e07024c40a9cf74a2df2ba671b0fc677f3cbcc85 (patch) | |
tree | 1fcbdf1791fd1a9e9fa611bc43338dbb9bfe5f71 /util.py | |
parent | 71df5a4431bce607550eec4425f4fdfbdbfa2af7 (diff) |
Fix GPGWrapper send_keys logging.
Diffstat (limited to 'util.py')
-rw-r--r-- | util.py | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -45,12 +45,11 @@ class GPGWrapper(gnupg.GPG): Send keys to a keyserver """ result = self.result_map['list'](self) - logger.debug('send_keys: %r', keyids) - data = _make_binary_stream("", self.encoding) + gnupg.logger.debug('send_keys: %r', keyids) + data = gnupg._make_binary_stream("", self.encoding) args = ['--keyserver', keyserver, '--send-keys'] args.extend(keyids) self._handle_io(args, data, result, binary=True) - logger.debug('send_keys result: %r', result.__dict__) + gnupg.logger.debug('send_keys result: %r', result.__dict__) data.close() return result - |