(self)
Create directories under ~.
Create directories under ~.
Create directories under ~ .
def create_home_path(self):
        """Create directories under ~."""
        if not self.user:
            return
        home = convert_path(os.path.expanduser("~"))
        for name, path in six.iteritems(self.config_vars):
            if path.startswith(home) and not os.path.isdir(path):
                self.debug_print("os.makedirs('%s', 0o700)" % path)
                os.makedirs(path, 0o700)
def create_home_path ( self ) : if not self . user : return home = convert_path ( os . path . expanduser ( "~" ) ) for name , path in six . iteritems ( self . config_vars ) : if path . startswith ( home ) and not os . path . isdir ( path ) : self . debug_print ( "os.makedirs('%s', 0o700)" % path ) os . makedirs ( path , 0o700 )