def Close(self):
    assert self.statefile

    # Files are automatically unlocked when closing them
    self.statefile.close()
    self.statefile = None
Unlock configuration file and close it.
dataset/ETHPy150Open ganeti/ganeti/lib/watcher/state.py/WatcherState.Close