public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Owen W. Taylor <otaylor@fishsoup.net>
To: git-commits@fedoraproject.org
Subject: [flatpaks/flatpak-runtime] f45: generate-report.py: fix the priority between manual and automatic notes
Date: Fri, 11 Sep 2026 14:40:14 GMT	[thread overview]
Message-ID: <178913761482.1.9539561352266742305.flatpaks-flatpak-runtime-0bef05ff1978@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : flatpaks/flatpak-runtime
            Branch : f45
            Commit : 0bef05ff19783bccefa7b25f4e32a556f9761ef5
            Author : Owen W. Taylor <otaylor@fishsoup.net>
            Date   : 2018-01-31T11:21:01+01:00
            Stats  : +3/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/flatpaks/flatpak-runtime/c/0bef05ff19783bccefa7b25f4e32a556f9761ef5?branch=f45

            Log:
            generate-report.py: fix the priority between manual and automatic notes

Manual notes should win.

---
diff --git a/tools/generate-report.py b/tools/generate-report.py
index a64a008..065b910 100755
--- a/tools/generate-report.py
+++ b/tools/generate-report.py
@@ -69,10 +69,10 @@ class Package(object):
 
     @property
     def note(self):
-        if self.gnome_platform and not self.live:
-            return "platform package not on Live image"
-        elif self._note:
+        if self._note:
             return self._note
+        elif self.gnome_platform and not self.live:
+            return "platform package not on Live image"
         else:
             return ""
 

                 reply	other threads:[~2026-09-11 14:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178913761482.1.9539561352266742305.flatpaks-flatpak-runtime-0bef05ff1978@fedoraproject.org \
    --to=otaylor@fishsoup.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox