summary refs log tree commit diff stats
path: root/mailinglist/launchpad.py
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-05-23 13:18:00 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-05-23 13:18:00 +0200
commitde581512109c61fc69d72104225b14b5b069e4af (patch)
tree55f1c068633d7a5492a6cff0ccf89cc5e749c6d3 /mailinglist/launchpad.py
parent86db394d132602de610cbcac344a9b4f52087de3 (diff)
downloadqemu-analysis-de581512109c61fc69d72104225b14b5b069e4af.tar.gz
qemu-analysis-de581512109c61fc69d72104225b14b5b069e4af.zip
fix return values
Diffstat (limited to 'mailinglist/launchpad.py')
-rwxr-xr-xmailinglist/launchpad.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/mailinglist/launchpad.py b/mailinglist/launchpad.py
index a5a57d7cd..6b1cdd1ef 100755
--- a/mailinglist/launchpad.py
+++ b/mailinglist/launchpad.py
@@ -3,14 +3,14 @@ from os import makedirs, path
 
 def process_launchpad_bug(bug_id) -> bool:
     if path.exists(f"output_launchpad/{bug_id}"):
-        return false
+        return False
 
     bug_url = f"https://api.launchpad.net/1.0/bugs/{bug_id}"
 
     bug_response = get(url = bug_url)
 
     if not 'application/json' in bug_response.headers.get('Content-Type', ''):
-        return false
+        return False
 
     bug_data = bug_response.json()
 
@@ -24,4 +24,4 @@ def process_launchpad_bug(bug_id) -> bool:
 
         for entry in messages_data['entries']:
             file.write(f"{entry['content']}\n\n")
-    return true
+    return True