public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Than Ngo <than@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/chromium] epel9-next: fixed python3 syntaxWarning: invalid escape sequence
Date: Fri, 07 Aug 2026 16:05:42 GMT [thread overview]
Message-ID: <178611874263.1.7219335008623808445.rpms-chromium-7fc989cee8c6@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/chromium
Branch : epel9-next
Commit : 7fc989cee8c638fb1664839aafadd3cad148a72f
Author : Than Ngo <than@redhat.com>
Date : 2023-11-15T15:42:49+01:00
Stats : +3/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/7fc989cee8c638fb1664839aafadd3cad148a72f?branch=epel9-next
Log:
fixed python3 syntaxWarning: invalid escape sequence
---
diff --git a/chromium-latest.py b/chromium-latest.py
index 5af8628..5864be9 100755
--- a/chromium-latest.py
+++ b/chromium-latest.py
@@ -1,4 +1,5 @@
#!/usr/bin/python3
+# Copyright 2021-2023, Than Ngo <than@redhat.com>
# Copyright 2010,2015-2019 Tom Callaway <tcallawa@redhat.com>
# Copyright 2013-2016 Tomas Popela <tpopela@redhat.com>
# Permission is hereby granted, free of charge, to any person obtaining
@@ -324,7 +325,7 @@ if __name__ == '__main__':
delete_chromium_dir(directory)
# There has got to be a better, more portable way to do this.
- os.system("find %s -depth -name reference_build -type d -exec rm -rf {} \;" % latest_dir)
+ os.system("find %s -depth -name reference_build -type d -exec rm -rf {} \\;" % latest_dir)
# I could not find good bindings for xz/lzma support, so we system call here too.
chromium_clean_xz_file = "chromium-" + chromium_version + "-clean.tar.xz"
@@ -339,6 +340,6 @@ if __name__ == '__main__':
if (not args.prep):
print("Compressing cleaned tree, please wait...")
os.chdir(chromium_root_dir)
- os.system("tar --exclude=\.svn -cf - chromium-%s | xz -9 -T 0 -f > %s" % (chromium_version, chromium_clean_xz_file))
+ os.system("tar --exclude=\\.svn -cf - chromium-%s | xz -9 -T 0 -f > %s" % (chromium_version, chromium_clean_xz_file))
print("Finished!")
reply other threads:[~2026-08-07 16:05 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=178611874263.1.7219335008623808445.rpms-chromium-7fc989cee8c6@fedoraproject.org \
--to=than@redhat.com \
--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