Convert command back to string from raw so escapes work properly

This commit is contained in:
Matthew Johnson
2017-07-21 09:45:56 -07:00
parent 0ae5cd8554
commit ccf53675d8
+1 -1
View File
@@ -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,