Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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
Exemplo n.º 4
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
Exemplo n.º 5
0
 def deltree(self, uri):
     return deltree(self, uri)
Exemplo n.º 6
0
 def deltree(self, uri):
     return deltree(self, uri)