public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [flatpaks/flatpak-runtime] f45: generate-runtime-report.py: Handle files with a space in the name
@ 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 : 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')
^ 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-runtime-report.py: Handle files with a space in the name 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