owncloud/owncloud.py
def __check_ocs_status(tree):
        """Checks the status code of an OCS request

        :param tree: response parsed with elementtree
        :raises: ResponseError if the status is not 200
        """
        code_el = tree.find('meta/statuscode')
        if code_el is not None and code_el.text != '100':
            raise ResponseError(int(code_el.text))
Checks the status code of an OCS request

        :param tree: response parsed with elementtree
        :raises: ResponseError if the status is not 200
        
Checks the status code of an OCS request
Checks the status code of an OCS request
def __check_ocs_status(tree):
        code_el = tree.find('meta/statuscode')
        if code_el is not None and code_el.text != '100':
            raise ResponseError(int(code_el.text))
def __check_ocs_status ( tree ) : code_el = tree . find ( 'meta/statuscode' ) if code_el is not None and code_el . text != '100' : raise ResponseError ( int ( code_el . text ) )
Checks the status code of an OCS request
Checks the status code of an OCS request
"""Checks the status code of an OCS request

        :param tree: response parsed with elementtree
        :raises: ResponseError if the status is not 200
        """
ResponseError if the status is not 200
ResponseError if the status is not 200
tree
response parsed with elementtree
response parsed with elementtree