Exemple #1
0
    def deltree(self,uri):
        """ delete a collection 

        You have to return a result dict of the form
        uri:error_code
        or None if everything's ok
        """
        return deltree(self,uri)
Exemple #2
0
    def deltree(self, uri):
        """ delete a collection 

	    You have to return a result dict of the form
	    uri:error_code
	    or None if everything's ok
	    """

        return deltree(self, uri)
Exemple #3
0
    def deltree(self, uri):
        """ delete a collection

        You have to return a result dict of the form
        uri:error_code
        or None if everything's ok
        """
        if uri[-1] == '/': uri = uri[:-1]
        res = deltree(self, uri)
        # parent='/'.join(uri.split('/')[:-1])
        return res
    def deltree(self, uri):
        """ delete a collection

        You have to return a result dict of the form
        uri:error_code
        or None if everything's ok
        """
        if uri[-1]=='/':uri=uri[:-1]
        res=deltree(self, uri)
        # parent='/'.join(uri.split('/')[:-1])
        return res