Fixed some index bugs.
[didex.git] / didex / lib.py
CommitLineData
a95055e8
FT
1class closable(object):
2 def __enter__(self):
3 return self
4 def __exit__(self, *excinfo):
5 self.close()
6 return False