summary refs log tree commit diff stats
path: root/mailinglist/downloader.py
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-05-23 13:14:55 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-05-23 13:14:55 +0200
commitfac715cd71675861766732fb84741e4e25c6995b (patch)
tree55c660d01943446a477cfdeae8df2e443a0d0a2b /mailinglist/downloader.py
parent3659cb789577fd6fa18487744a289b764889ba6b (diff)
downloademulator-bug-study-fac715cd71675861766732fb84741e4e25c6995b.tar.gz
emulator-bug-study-fac715cd71675861766732fb84741e4e25c6995b.zip
check json for launchpad bugs
Diffstat (limited to 'mailinglist/downloader.py')
-rwxr-xr-xmailinglist/downloader.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mailinglist/downloader.py b/mailinglist/downloader.py
index 0b8a4277..38d37305 100755
--- a/mailinglist/downloader.py
+++ b/mailinglist/downloader.py
@@ -55,7 +55,8 @@ def main():
 
             re_match = search(r'\[Bug\s(\d+)\]', text) # matches [Bug <number>] if bug is issued in launchpad
             if re_match:
-                process_launchpad_bug(re_match.group(1).strip())
+                if not process_launchpad_bug(re_match.group(1).strip()):
+                    print(f"Could not parse launchpad bug with id: {re_match.group(1).strip()}")
                 continue
 
             re_match = match(r'(?i)^re:\s*(.*)', text) # matches 'Re:', meaning it's not a new thread