Skip to content

Commit

Permalink
Updated already created queue when being reused
Browse files Browse the repository at this point in the history
  • Loading branch information
siloraptor committed Nov 28, 2011
1 parent b14527f commit 4c62b29
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/queue_manager/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@ def __new__(cls, name, queue_name, label=None, unique_names=False):
'unique_names': unique_names
}
)
if not created:
queue.label = label
queue.unique_names = unique_names
queue.save()
return queue

0 comments on commit 4c62b29

Please sign in to comment.