git://git.onelab.eu
/
bootmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
shebags mention python2 explicitly
[bootmanager.git]
/
source
/
steps
/
UpdateNodeConfiguration.py
diff --git
a/source/steps/UpdateNodeConfiguration.py
b/source/steps/UpdateNodeConfiguration.py
index
4d16b16
..
0bb7471
100644
(file)
--- a/
source/steps/UpdateNodeConfiguration.py
+++ b/
source/steps/UpdateNodeConfiguration.py
@@
-1,4
+1,4
@@
-#!/usr/bin/python
+#!/usr/bin/python
2
#
# Copyright (c) 2003 Intel Corporation
# All rights reserved.
#
# Copyright (c) 2003 Intel Corporation
# All rights reserved.
@@
-88,9
+88,9
@@
def Run(vars, log):
except ValueError as e:
pass
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
except OSError as e:
continue