From 185c7e5c79550ac989621fda40172621bcbfd875 Mon Sep 17 00:00:00 2001 From: Hannah Ward Date: Fri, 18 Aug 2017 11:13:37 +0100 Subject: [PATCH] fix: Set the top-level package version --- scripts/push_published_to_taxii.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/push_published_to_taxii.py b/scripts/push_published_to_taxii.py index 148de7b..ed9a2f5 100644 --- a/scripts/push_published_to_taxii.py +++ b/scripts/push_published_to_taxii.py @@ -83,6 +83,9 @@ while True: if hasattr(i, "version"): i.version = version + # Set the top-level + pkg.version = version + try: log.info("Using binding %s", "urn:stix.mitre.org:xml:{}".format(version)) cli.push(content=pkg.to_xml().decode("utf-8"),