Пример #1
0
    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)
Пример #2
0
 def execute (self, logger):
     loggedos.makedirs (logger, self.dir)
Пример #3
0
 def execute(self, logger):
     loggedos.makedirs(logger, self.dir)