All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] devtool/standard: correctly escape \
@ 2024-01-05 13:35 Alexander Kanavin
  2024-01-05 13:35 ` [PATCH 2/3] python3-pyaaml: make compatible with cython 3.x Alexander Kanavin
  2024-01-05 13:35 ` [PATCH 3/3] python3-cython: update 0.29.36 -> 3.0.7 Alexander Kanavin
  0 siblings, 2 replies; 11+ messages in thread
From: Alexander Kanavin @ 2024-01-05 13:35 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

python 3.12 points out that:

SyntaxWarning: invalid escape sequence '\*'

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 scripts/lib/devtool/standard.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index 559fd45676c..c20c0321a35 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -772,7 +772,7 @@ def get_staging_kver(srcdir):
 def get_staging_kbranch(srcdir):
     staging_kbranch = ""
     if os.path.exists(srcdir) and os.listdir(srcdir):
-        (branch, _) = bb.process.run('git branch | grep \* | cut -d \' \' -f2', cwd=srcdir)
+        (branch, _) = bb.process.run('git branch | grep \\* | cut -d \' \' -f2', cwd=srcdir)
         staging_kbranch = "".join(branch.split('\n')[0])
     return staging_kbranch
 
-- 
2.39.2



^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-01-09 21:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-05 13:35 [PATCH 1/3] devtool/standard: correctly escape \ Alexander Kanavin
2024-01-05 13:35 ` [PATCH 2/3] python3-pyaaml: make compatible with cython 3.x Alexander Kanavin
2024-01-07 19:49   ` [OE-core] " Alexandre Belloni
2024-01-05 13:35 ` [PATCH 3/3] python3-cython: update 0.29.36 -> 3.0.7 Alexander Kanavin
2024-01-07 19:54   ` [OE-core] " Alexandre Belloni
2024-01-07 20:05     ` Alexander Kanavin
2024-01-07 20:09       ` Alexandre Belloni
2024-01-07 20:14         ` Alexandre Belloni
     [not found]   ` <17A828BF39EB0275.11644@lists.openembedded.org>
2024-01-08  7:39     ` Alexandre Belloni
2024-01-08  8:10       ` Alexander Kanavin
2024-01-09 21:50         ` Alexandre Belloni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.