X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=source%2Fsteps%2FUpdateNodeConfiguration.py;h=0bb74716c5d6758fe13d43c484c341fff6ccacb2;hb=6dbdbad233ca8770d2f9913c161a3da3f7b8130d;hp=4d16b16c3e79e3d08daf7bf3c798c6f4c0409a14;hpb=621647f8fad5b114a8bda1557ff1657c3efc7e22;p=bootmanager.git diff --git a/source/steps/UpdateNodeConfiguration.py b/source/steps/UpdateNodeConfiguration.py index 4d16b16..0bb7471 100644 --- a/source/steps/UpdateNodeConfiguration.py +++ b/source/steps/UpdateNodeConfiguration.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # # Copyright (c) 2003 Intel Corporation # All rights reserved. @@ -88,9 +88,9 @@ def Run(vars, log): except ValueError as e: pass - update_path_list = update_path_list + map(lambda x: \ - full_dir_path+"/"+x, - slices) + update_path_list = update_path_list + \ + ["{}/{}".format(full_dir_path, x) for x in slices] + except OSError as e: continue