public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [flatpaks/flatpak-runtime] f45: generate-report.py: fix the priority between manual and automatic notes
@ 2026-09-11 14:40 Owen W. Taylor
  0 siblings, 0 replies; only message in thread
From: Owen W. Taylor @ 2026-09-11 14:40 UTC (permalink / raw)
  To: git-commits

            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 ""
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-11 14:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 14:40 [flatpaks/flatpak-runtime] f45: generate-report.py: fix the priority between manual and automatic notes Owen W. Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox