From 5d4144788a734d0d9f51d7470114495600cffb81 Mon Sep 17 00:00:00 2001
From: Oleksiy Mishchenko <oleksiy@google.com>
Date: Fri, 25 Jul 2008 12:32:43 +0000
Subject: [PATCH] Convert set to a list in LUGetTags

The set triggers exception on a list-tags command and RAPI calls for tags
since it is not serializable by JSON.

Reviewed-by: iustinp
---
 lib/cmdlib.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/cmdlib.py b/lib/cmdlib.py
index 1fa6be733..744e2a1ed 100644
--- a/lib/cmdlib.py
+++ b/lib/cmdlib.py
@@ -4515,7 +4515,7 @@ class LUGetTags(TagsLU):
     """Returns the tag list.
 
     """
-    return self.target.GetTags()
+    return list(self.target.GetTags())
 
 
 class LUSearchTags(NoHooksLU):
-- 
GitLab