

def __ensure_project(self, project_name):
    "Make sure the project nodes exist (including 'opened' and 'closed')"
    if (project_name not in self.history):
        self.history[project_name] = {
            
        }
        self.history[project_name]['opened'] = []
        self.history[project_name]['closed'] = []

dataset/ETHPy150Open FichteFoll/FileHistory/file_history.py FileHistory.__ensure_project/original