summaryrefslogtreecommitdiff
path: root/src/leap/soledad/__init__.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-02-04 19:34:23 -0200
committerdrebs <drebs@leap.se>2013-02-04 19:34:23 -0200
commitfb13d4d6ea63c92cc97e81d61a556de8001b4ba1 (patch)
treeed0e32d91c07a08524f6713e65846fc61b4e227d /src/leap/soledad/__init__.py
parent5505f1397f7130b9731e51cb52abd820a8564cb8 (diff)
Close file handles.
Diffstat (limited to 'src/leap/soledad/__init__.py')
-rw-r--r--src/leap/soledad/__init__.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/leap/soledad/__init__.py b/src/leap/soledad/__init__.py
index c9c981c2..688ee160 100644
--- a/src/leap/soledad/__init__.py
+++ b/src/leap/soledad/__init__.py
@@ -66,7 +66,6 @@ class Soledad(object):
try:
with open(self.SECRET_PATH) as f:
self._secret = str(self._gpg.decrypt(f.read()))
- f.close()
except IOError:
raise IOError('Failed to open secret file %s.' % self.SECRET_PATH)