From 215b64f2532ffe952d7d2bbf6624df3e4f23dd72 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Tue, 18 Oct 2016 22:23:40 +0300 Subject: [PATCH] gpg: fix comment --- 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 79ce9fb..77cd110 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']) # Stop current gpg-agent + sp.check_call(['gpg-connect-agent', '/bye']) # Make sure it's running sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) sock.connect(sock_path) return sock