commit fd9c57eba9f94db8179357094464820c6af15775
parent 4988359eb09ed23b19ab9ecf99560cf5c381dd76
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date: Sun, 28 Oct 2007 17:47:28 +0000
minor label bugfix
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@642 5c8cc53c-5e98-4d25-b20a-d8db53a31250
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/sup/label.rb b/lib/sup/label.rb
@@ -32,7 +32,8 @@ class LabelManager
## nicely and converted to pretty strings. use #label_for to recover
## the original label.
def listable_labels
- LISTABLE_RESERVED_LABELS + @labels.keys
+ ## uniq's only necessary here because of certain upgrade issues
+ (LISTABLE_RESERVED_LABELS + @labels.keys).uniq
end
## all apply-able (user-defined and system listable) labels, ordered