Unverified Commit 76520ce4 authored by Peter Eastman's avatar Peter Eastman Committed by GitHub
Browse files

Removed use of obsolete method iteritems() (#4285)

parent 25f502d7
...@@ -562,7 +562,7 @@ class GromacsTopFile(object): ...@@ -562,7 +562,7 @@ class GromacsTopFile(object):
self._defines['FLEXIBLE'] = True self._defines['FLEXIBLE'] = True
self._genpairs = True self._genpairs = True
if defines is not None: if defines is not None:
for define, value in defines.iteritems(): for define, value in defines.items():
self._defines[define] = value self._defines[define] = value
# Parse the file. # Parse the file.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment