(self)
return True
Prepare container for mountpoints
Prepare container for mountpoints
Prepare container for mountpoints
def setup(self):
        """Prepare container for mountpoints"""
        if not os.path.isdir(self.mountpoints_orig_dir):
            if not FileUtil(self.mountpoints_orig_dir).mkdir():
                Msg().err("Error: creating dir:", self.mountpoints_orig_dir)
                return False
        return True
def setup ( self ) : if not os . path . isdir ( self . mountpoints_orig_dir ) : if not FileUtil ( self . mountpoints_orig_dir ) . mkdir ( ) : Msg ( ) . err ( "Error: creating dir:" , self . mountpoints_orig_dir ) return False return True