commit | 16698876d8b5456623c39e3e7280cd57aeb0a54e | [log] [tgz] |
---|---|---|
author | Yolanda Robla <info@ysoft.biz> | Mon Aug 25 11:59:27 2014 +0200 |
committer | Yolanda Robla <yolanda.robla-mota@hp.com> | Wed Aug 27 11:54:48 2014 +0200 |
tree | 7867cbaaa4fc9302cfd0b4cb7cd7642ec3aa77f4 | |
parent | 1d1df74c480d525011f352f76010becb315eeca5 [diff] |
Add check for ref being a string before applying regex Incorrect filter by ref in zuul layout could end on applying a regex to a None value, causing an error and zuul crashing. That is not an usual thing but could happen and zuul crashes because of that. Add the comparison for ref not being None before applying the regex, as it was done for comment comparison. Change-Id: Ie58bb288a1f7609564283a0062e08ecc45b28cd0