avoid needlessly creating a list
[mass-build.git] / mass_build.py
index 93ae5a3280408cc800c7b4fa9a21e35e1021535e..e9e372530966463cfc4165f391bf60570764f8e5 100755 (executable)
@@ -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')):
-       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]