[libvirt] [jenkins-ci PATCH] lcitool: Fix invalid escape sequence

Andrea Bolognani posted 1 patch 4 years, 4 months ago
Failed in applying to current master (apply log)
guests/lcitool | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[libvirt] [jenkins-ci PATCH] lcitool: Fix invalid escape sequence
Posted by Andrea Bolognani 4 years, 4 months ago
Spotted by flake8.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
---
Pushed as trivial.

 guests/lcitool | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guests/lcitool b/guests/lcitool
index e87a805..d4dc1c8 100755
--- a/guests/lcitool
+++ b/guests/lcitool
@@ -723,7 +723,7 @@ class Application:
                     {package_manager} install --no-install-recommends -y {pkgs} && \\
                     {package_manager} autoremove -y && \\
                     {package_manager} autoclean -y && \\
-                    sed -Ei 's,^# (en_US\.UTF-8 .*)$,\\1,' /etc/locale.gen && \\
+                    sed -Ei 's,^# (en_US\\.UTF-8 .*)$,\\1,' /etc/locale.gen && \\
                     dpkg-reconfigure locales
             """).format(**varmap))
             if args.cross_arch:
-- 
2.23.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list