Python 3 doesn't have iteritems, use items (#4143)

This commit is contained in:
Adam J. Stewart
2017-05-05 16:21:15 -05:00
committed by GitHub
parent c3af901ac6
commit 6e23c31ad1
3 changed files with 5 additions and 5 deletions

View File

@@ -386,7 +386,7 @@ def configure(self, spec, prefix):
cshell=join_path('etc', 'prefs.csh'))
# Adjust components to use SPACK variants
for component, subdict in self.etc_config.iteritems():
for component, subdict in self.etc_config.items():
write_environ(
subdict,
posix=join_path('etc', 'config.sh', component),