[elbe-devel] [PATCH 71/75] templates: Fix Pylint

Torben Hohn torben.hohn at linutronix.de
Fri May 29 17:03:44 CEST 2020


On Mon, May 25, 2020 at 11:43:04AM -0400, Olivier Dion wrote:
> 14:0: C0411: (wrong-import-order)
> 15:0: C0411: (wrong-import-order)
> 
> Signed-off-by: Olivier Dion <dion at linutronix.de>

Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>

> ---
>  elbepack/templates.py | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/elbepack/templates.py b/elbepack/templates.py
> index 6d902278..bbbe3e59 100644
> --- a/elbepack/templates.py
> +++ b/elbepack/templates.py
> @@ -8,12 +8,11 @@ from __future__ import print_function
>  
>  import os
>  
> -from elbepack.treeutils import etree
> -from elbepack.directories import mako_template_dir, default_preseed_fname
> -
>  from mako.template import Template
>  from mako import exceptions
>  
> +from elbepack.treeutils import etree
> +from elbepack.directories import mako_template_dir, default_preseed_fname
>  
>  def fix_linebreak_escapes(s):
>      return s.replace('\\\n', '${"\\\\"}\n')
> -- 
> 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