From d030c20093b5594517f48f17a3b0257b5aaddf38 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 01 2019 18:46:46 +0000 Subject: python doesn't have null, it has None Signed-off-by: Pierre-Yves Chibon --- diff --git a/resultsdb_listener/pipeline_consumer.py b/resultsdb_listener/pipeline_consumer.py index a718d74..0e43baf 100644 --- a/resultsdb_listener/pipeline_consumer.py +++ b/resultsdb_listener/pipeline_consumer.py @@ -33,7 +33,7 @@ class PipelineConsumer(fedmsg.consumers.FedmsgConsumer): def consume(self, message): msg = message['body'] - topic = null + topic = None if 'topic' in msg: topic = msg['topic'] elif 'ci_topic' in msg: