projects
/
mass-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6c0b914
)
avoid needlessly creating a list
author
Ralf Jung
<post@ralfj.de>
Sun, 15 Sep 2013 14:10:40 +0000
(16:10 +0200)
committer
Ralf Jung
<post@ralfj.de>
Sun, 15 Sep 2013 14:10:40 +0000
(16:10 +0200)
mass_build.py
patch
|
blob
|
history
diff --git
a/mass_build.py
b/mass_build.py
index 93ae5a3280408cc800c7b4fa9a21e35e1021535e..e9e372530966463cfc4165f391bf60570764f8e5 100755
(executable)
--- a/
mass_build.py
+++ b/
mass_build.py
@@
-91,7
+91,7
@@
workProjects = [] # projects we work on
# copy all items which don't exist below, except for those in the exclude list
def inherit(subConfig, superConfig, exclude = ('name', 'projects')):
# copy all items which don't exist below, except for those in the exclude list
def inherit(subConfig, superConfig, exclude = ('name', 'projects')):
- for name in
list(superConfig.keys()
):
+ for name in
superConfig.keys(
):
if (not name in subConfig) and (not name in exclude):
subConfig[name] = superConfig[name]
if (not name in subConfig) and (not name in exclude):
subConfig[name] = superConfig[name]