[elbe-devel] [PATCH 11/75] commands chroot: Fix Pylint
Olivier Dion
dion at linutronix.de
Mon May 25 17:42:04 CEST 2020
55:2: W1401: (anomalous-backslash-in-string)
55:4: W1401: (anomalous-backslash-in-string)
Signed-off-by: Olivier Dion <dion at linutronix.de>
---
elbepack/commands/chroot.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/elbepack/commands/chroot.py b/elbepack/commands/chroot.py
index 10e7535e..9f2d5243 100644
--- a/elbepack/commands/chroot.py
+++ b/elbepack/commands/chroot.py
@@ -52,7 +52,7 @@ def run_command(argv):
os.environ["LANGUAGE"] = "C"
os.environ["LC_ALL"] = "C"
# TODO: howto set env in chroot?
- os.environ["PS1"] = project.xml.text('project/name') + ': \w\$'
+ os.environ["PS1"] = project.xml.text('project/name') + r': \w\$'
cmd = "/bin/bash"
--
2.26.2
More information about the elbe-devel
mailing list