In this method self.tags might be None and cannot be used in join(). Use GetTags instead.
Signed-off-by: Dimitris Aragiorgis <[email protected]> --- lib/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/objects.py b/lib/objects.py index 588ef03..60c7aac 100644 --- a/lib/objects.py +++ b/lib/objects.py @@ -2053,7 +2053,7 @@ class Network(TaggableObject): result = { "%sNETWORK_NAME" % prefix: self.name, "%sNETWORK_UUID" % prefix: self.uuid, - "%sNETWORK_TAGS" % prefix: " ".join(self.tags), + "%sNETWORK_TAGS" % prefix: " ".join(self.GetTags()), } if self.network: result["%sNETWORK_SUBNET" % prefix] = self.network -- 1.7.10.4
