<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def deleteQueue(destinationRoot, queueArk, debug=False):
 """ Delete an entry from the queue """


    url = urlparse.urljoin(destinationRoot, "APP/queue/" + queueArk + "/")
    response, content = doWaitWebRequest(url, "DELETE")
    if response.getcode() != 200:
        raise Exception(
            "Error updating queue %s to url %s.  Response code is %s\n%s" %
            (queueArk, url, response.getcode(), content)
        )