]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/index.py
Initialize _file in MetaStoreReader before open
[bup.git] / lib / bup / index.py
index b99e6d36a606d761731814240a7318eabeb47cfc..794ff9f344393a9238883abe0aaf932c88399647 100644 (file)
@@ -30,6 +30,7 @@ class Error(Exception):
 
 class MetaStoreReader:
     def __init__(self, filename):
+        self._file = None
         self._file = open(filename, 'rb')
 
     def close(self):