Commit 5a76adf7 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis Committed by Guido Trotter
Browse files

Fix HooksDict() in case of no tags

In this method self.tags might be None and cannot be used
in join(). Use GetTags instead.
Signed-off-by: default avatarDimitris Aragiorgis <>
Reviewed-by: default avatarGuido Trotter <>
parent e0519c34
......@@ -2053,7 +2053,7 @@ class Network(TaggableObject):
result = {
"%sNETWORK_NAME" % prefix:,
"%sNETWORK_UUID" % prefix: self.uuid,
"%sNETWORK_TAGS" % prefix: " ".join(self.tags),
"%sNETWORK_TAGS" % prefix: " ".join(self.GetTags()),
result["%sNETWORK_SUBNET" % prefix] =
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment