def create_dirs (self): for a in ( 'allsrcdir', 'alllogdir', 'core_prefix', 'cross_prefix', 'downloads', 'gubdir', 'tools_prefix', 'logdir', 'packages', 'specdir', 'statusdir', 'system_root', 'targetdir', 'uploads', 'cross_packages', 'cross_statusdir', 'cross_allsrcdir', ): dir = self.__dict__[a] if not os.path.isdir (dir): loggedos.makedirs (gub_log.default_logger, dir)
def execute (self, logger): loggedos.makedirs (logger, self.dir)
def execute(self, logger): loggedos.makedirs(logger, self.dir)