def create_structure_from_variable(self, dir_structure):
        '''
        create directory structure via given list of tuples (filename, content,)
        content being None means it is directory
        '''
        for filename, content in dir_structure:
            if content is None:
                try:
                    os.makedirs(filename)
                except __HOLE__:
                    pass
            else:
                f = open(filename, 'w')
                f.write(content)
                f.close()
dataset/ETHPy150Open ella/citools/tests/test_debian/__init__.py/TestVersionedStatic.create_structure_from_variable