diff options
-rw-r--r-- | layman/dbtools/gitoliteparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layman/dbtools/gitoliteparser.py b/layman/dbtools/gitoliteparser.py index 65159bd..1a66e86 100644 --- a/layman/dbtools/gitoliteparser.py +++ b/layman/dbtools/gitoliteparser.py @@ -78,12 +78,12 @@ class RepoDatabase: dont_add_reason = m.group(1) break + f.close() self._add(repo, terms_status, is_overlay, dont_add_reason) for desc_repo, (desc_contact, desc_desc) in desc_map.items(): self._describe(desc_repo, desc_contact, desc_desc) - f.close() def _dump(self): for repo, (terms_status, is_overlay, dont_add_reason, contact, desc) in sorted(self._db.items()): |