From: Alexis Lothoré <alexis.loth...@bootlin.com>

Signed-off-by: Alexis Lothoré <alexis.loth...@bootlin.com>
---
 scripts/send_qa_email.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/send_qa_email.py b/scripts/send_qa_email.py
index 320ff24..540eb94 100755
--- a/scripts/send_qa_email.py
+++ b/scripts/send_qa_email.py
@@ -16,7 +16,7 @@ import utils
 
 def is_release_version(version):
     p = re.compile('\d{8}-\d+')
-    return p.match(version) is None
+    return version is not None and p.match(version) is None
 
 def get_previous_tag(targetrepodir, version):
     previousversion = None
-- 
2.39.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59413): https://lists.yoctoproject.org/g/yocto/message/59413
Mute This Topic: https://lists.yoctoproject.org/mt/97582166/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to