Skip to content

Commit

Permalink
Fixed Python MQ delete syntax. Fixes #275.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paddy Foran committed Jan 5, 2013
1 parent b45e979 commit a6ebc83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mq/index.html
Expand Up @@ -313,8 +313,8 @@ <h3>Response</h3>
{% highlight python %} {% highlight python %}
ironmq = IronMQ() ironmq = IronMQ()
queue = ironmq.queue("test_queue") queue = ironmq.queue("test_queue")
msg = queue.get() response = queue.get()
queue.delete(msg["ids"][0]) queue.delete(response["messages"][0]["id"])
{% endhighlight %}</div> {% endhighlight %}</div>


<div class="language go"><h3>Go Example</h3> <div class="language go"><h3>Go Example</h3>
Expand Down

0 comments on commit a6ebc83

Please sign in to comment.