diff options
author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-12 02:46:09 (GMT) |
---|---|---|
committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-12 02:46:09 (GMT) |
commit | 056622b43309af38e4b6dcbbdcdd0e7b9b176a0d (patch) | |
tree | 462a54045bb7f37948fb4404fed7a33579bc0b07 /src/engine/SCons/Node/Python.py | |
parent | 055c8046afce036fdfad4bc8d60e4059da148f7d (diff) | |
download | SCons-056622b43309af38e4b6dcbbdcdd0e7b9b176a0d.zip SCons-056622b43309af38e4b6dcbbdcdd0e7b9b176a0d.tar.gz SCons-056622b43309af38e4b6dcbbdcdd0e7b9b176a0d.tar.bz2 |
When iterating over dict.items(), we do not need a new list.
Diffstat (limited to 'src/engine/SCons/Node/Python.py')
-rw-r--r-- | src/engine/SCons/Node/Python.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Node/Python.py b/src/engine/SCons/Node/Python.py index 92cc320..f151fc5 100644 --- a/src/engine/SCons/Node/Python.py +++ b/src/engine/SCons/Node/Python.py @@ -67,7 +67,7 @@ class ValueNodeInfo(SCons.Node.NodeInfoBase): """ # TODO check or discard version del state['_version_id'] - for key, value in list(state.items()): + for key, value in state.items(): if key not in ('__weakref__',): setattr(self, key, value) |