Python 3 doesn't have iteritems, use items (#4143)
This commit is contained in:
@@ -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),
|
||||
|
Reference in New Issue
Block a user