diff --git a/src/diffpy/srmise/basefunction.py b/src/diffpy/srmise/basefunction.py index de69527..ebeee5e 100644 --- a/src/diffpy/srmise/basefunction.py +++ b/src/diffpy/srmise/basefunction.py @@ -346,7 +346,7 @@ def writestr(self, baselist): else: lines.append("base=%s" % repr(None)) # Write all other metadata - for k, (v, f) in self.metadict.iteritems(): + for k, (v, f) in self.metadict.items(): lines.append("%s=%s" % (k, f(v))) datastring = "\n".join(lines) + "\n" return datastring