summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--obnamlib/encryption.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/obnamlib/encryption.py b/obnamlib/encryption.py
index bed4e668..d2c78d07 100644
--- a/obnamlib/encryption.py
+++ b/obnamlib/encryption.py
@@ -93,7 +93,7 @@ def _gpg_pipe(args, data, passphrase, gpghome=None):
try:
out = _gpg(args + ['--passphrase-fd', str(keypipe[0])], stdin=data,
gpghome=gpghome)
- except: # pragma: no cover
+ except: # pragma: no cover
os.close(keypipe[0])
raise