#10 python doesn't have null, it has None
Merged 4 years ago by pingou. Opened 5 years ago by pingou.
pingou/ci-resultsdb-listener fix_typo  into  master

@@ -33,7 +33,7 @@ 

  

      def consume(self, message):

          msg = message['body']

-         topic = null

+         topic = None

          if 'topic' in msg:

              topic = msg['topic']

          elif 'ci_topic' in msg:

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

This must caused some syntax errors

LGTM

Thanks for the review :)

Pull-Request has been merged by pingou

4 years ago
Metadata