From 7de88a39807fd07251a0a319be8b17b4bafc3af5 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Sun, 16 Oct 2016 22:40:16 +0300 Subject: [PATCH] gpg: add comment for stopping current gpg-agent --- trezor_agent/gpg/keyring.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trezor_agent/gpg/keyring.py b/trezor_agent/gpg/keyring.py index e515a33..7fe47e6 100644 --- a/trezor_agent/gpg/keyring.py +++ b/trezor_agent/gpg/keyring.py @@ -24,7 +24,7 @@ def get_agent_sock_path(sp=subprocess): def connect_to_agent(sp=subprocess): """Connect to GPG agent's UNIX socket.""" sock_path = get_agent_sock_path(sp=sp) - sp.check_call(['gpg-connect-agent', '/bye']) + sp.check_call(['gpg-connect-agent', '/bye']) # Stop current gpg-agent sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) sock.connect(sock_path) return sock