From ccf53675d80ae46c64878f5b7d291b2f329593f2 Mon Sep 17 00:00:00 2001 From: Matthew Johnson Date: Fri, 21 Jul 2017 09:45:56 -0700 Subject: [PATCH] Convert command back to string from raw so escapes work properly --- autospec/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autospec/config.py b/autospec/config.py index 50b617d..63a6122 100644 --- a/autospec/config.py +++ b/autospec/config.py @@ -590,7 +590,7 @@ def parse_config_files(path, bump, filemanager): patches += read_conf_file(os.path.join(path, "series")) pfiles = [("%s/%s" % (path, x.split(" ")[0])) for x in patches] - cmd = r"egrep \"(\+\+\+|\-\-\-).*((Makefile.am)|(configure.ac|configure.in))\" %s" % \ + cmd = "egrep \"(\+\+\+|\-\-\-).*((Makefile.am)|(configure.ac|configure.in))\" %s" % \ " ".join(pfiles) if patches and call(cmd, check=False,