[elbe-devel] [PATCH 11/75] commands chroot: Fix Pylint

Torben Hohn torben.hohn at linutronix.de
Fri May 29 11:20:30 CEST 2020


On Mon, May 25, 2020 at 11:42:04AM -0400, Olivier Dion wrote:
> 55:2: W1401: (anomalous-backslash-in-string)
> 55:4: W1401: (anomalous-backslash-in-string)
> 
> Signed-off-by: Olivier Dion <dion at linutronix.de>

Reviewed-by: Torben Hohn <torben.hohn 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
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel

-- 
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz finden Sie hier (Informations on data privacy 
can be found here): https://linutronix.de/kontakt/Datenschutz.php

Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen | 
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700 
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner



More information about the elbe-devel mailing list