diff options
author | drebs <drebs@leap.se> | 2013-02-04 19:34:23 -0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2013-02-04 19:34:23 -0200 |
commit | 4e058b62589defe7a15d633a20b17bed75484d56 (patch) | |
tree | c1f25dd9acc7ff8d8e4ec0184a2a15d35effef91 /__init__.py | |
parent | 74372f4c613d22a094a91ba4a5e41b776c5a2867 (diff) |
Close file handles.
Diffstat (limited to '__init__.py')
-rw-r--r-- | __init__.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/__init__.py b/__init__.py index c9c981c2..688ee160 100644 --- a/__init__.py +++ b/__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) |