From 033c37a446b5ae301911111d791e8747c134a68f Mon Sep 17 00:00:00 2001 From: Hannah Ward Date: Fri, 31 Mar 2017 10:11:36 +0100 Subject: [PATCH] new: Poll seems to work --- scripts/run-taxii-poll.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/run-taxii-poll.py b/scripts/run-taxii-poll.py index 13e139e..088d9b2 100644 --- a/scripts/run-taxii-poll.py +++ b/scripts/run-taxii-poll.py @@ -74,4 +74,7 @@ for server in config: for collection in server["collections"]: for content_block in cli.poll(collection): - pass + log.debug("Pushing block %s", content_block) + localClient.push(content_block.content.decode("utf-8"), content_binding=content_block.binding) + +log.info("Finished!")