(self)
Load all mountpoints
Load all mountpoints
Load all mountpoints
def load_all(self):
        """Load all mountpoints"""
        for f_name in os.listdir(self.mountpoints_orig_dir):
            orig_mpath = os.readlink(self.mountpoints_orig_dir + '/' + f_name)
            orig_mpath = orig_mpath.replace('#', '/')
            cont_path = f_name.replace('#', '/')
            self.mountpoints[cont_path] = orig_mpath
def load_all ( self ) : for f_name in os . listdir ( self . mountpoints_orig_dir ) : orig_mpath = os . readlink ( self . mountpoints_orig_dir + '/' + f_name ) orig_mpath = orig_mpath . replace ( '#' , '/' ) cont_path = f_name . replace ( '#' , '/' ) self . mountpoints [ cont_path ] = orig_mpath