From bb50fe376eb8af4b5f3c080d110db23c7afd263a Mon Sep 17 00:00:00 2001 From: Audrow Nash Date: Wed, 1 Jun 2022 13:07:38 -0500 Subject: [PATCH] Switch to double quotes Signed-off-by: Audrow Nash --- ros2_batch_job/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ros2_batch_job/__main__.py b/ros2_batch_job/__main__.py index b019c61df..08ee821e3 100644 --- a/ros2_batch_job/__main__.py +++ b/ros2_batch_job/__main__.py @@ -667,7 +667,7 @@ def need_package_from_pipy(pkg_name): os.makedirs(args.sourcespace) for filename in repos_filenames: job.run(vcs_cmd + ['import', '"%s"' % args.sourcespace, '--force', '--retry', '5', - '--input', f"'{filename}'"], shell=True) + '--input', f'"{filename}"'], shell=True) print('# END SUBSECTION') if args.test_branch is not None: @@ -794,7 +794,7 @@ def need_package_from_pipy(pkg_name): def _fetch_repos_file(url, filename, job): """Use curl to fetch a repos file and display the contents.""" - job.run(['curl', '-skL', f"'{url}'", '-o', f"'{filename}'"]) + job.run(['curl', '-skL', f'"{url}"', '-o', f'"{filename}"']) log("@{bf}==>@| Contents of `%s`:" % filename) with open(filename, 'r') as f: print(f.read())