From 135497b713868a57bddd950585eaafc76fc79e0a Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Fri, 10 Feb 2017 16:50:37 -0500 Subject: [PATCH] Fix paths when moving specs Needed to use os.path.join to concatenate the paths when moving the specs from approved to implemented. Change-Id: Icf39ce8619dcec88d2d69bcbf55ea3888eb3b7a5 --- tools/move_implemented_specs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/move_implemented_specs.py b/tools/move_implemented_specs.py index d4c7a2d5b..444837765 100644 --- a/tools/move_implemented_specs.py +++ b/tools/move_implemented_specs.py @@ -86,8 +86,8 @@ def move_implemented_specs(release, verbose=False, dry_run=False): if not dry_run: # move the file from approved to implemented - os.rename(approved_dir + spec_fname, - implemented_dir + spec_fname) + os.rename(os.path.join(approved_dir, spec_fname), + os.path.join(implemented_dir, spec_fname)) # add an entry to the redirects file with open(redirects_file, 'a') as redirects: redirects.write('approved/%s ../implemented/%s\n' %