This commit is contained in:
Andreas Preikschat 2011-07-07 17:37:43 +02:00
parent 2b419d8a4e
commit f7ab82518b

View File

@ -120,7 +120,7 @@ class PriorityQueue(Queue.PriorityQueue):
The image to remove. This should be an ``Image`` instance.
``new_priority``
The new priority for the image.
The image's new priority.
"""
self.remove(image)
image.priority = new_priority