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-runtime-report.py: Handle files with a space in the name
Date: Fri, 11 Sep 2026 14:40:43 GMT [thread overview]
Message-ID: <178913764339.1.18169973734287298994.flatpaks-flatpak-runtime-aad9f85ac9a1@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : flatpaks/flatpak-runtime
Branch : f45
Commit : aad9f85ac9a12754cace743003e088a6996c781d
Author : Owen W. Taylor <otaylor@fishsoup.net>
Date : 2020-03-20T21:51:58+01:00
Stats : +1/-1 in 1 file(s)
URL : https://src.fedoraproject.org/flatpaks/flatpak-runtime/c/aad9f85ac9a12754cace743003e088a6996c781d?branch=f45
Log:
generate-runtime-report.py: Handle files with a space in the name
---
diff --git a/tools/generate-runtime-report.py b/tools/generate-runtime-report.py
index 428067e..2ad9908 100755
--- a/tools/generate-runtime-report.py
+++ b/tools/generate-runtime-report.py
@@ -288,7 +288,7 @@ def add_packages(source, which, resolve_deps=False, only_if_exists=False):
def add_package_files(filename, which):
with open(filename) as f:
for line in f:
- f, p = line.strip().split()
+ f, p = line.strip().rsplit(' ', 1)
f = f[:-1] # strip trailing :
pkg = packages[p]
old = getattr(pkg, which + '_files')
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=178913764339.1.18169973734287298994.flatpaks-flatpak-runtime-aad9f85ac9a1@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