Get rid of Python 2.7 dict.viewkeys() call.

This commit is contained in:
Todd Gamblin 2014-08-10 17:57:10 -07:00
parent d95e7ecfe1
commit 696e80c62f

View file

@ -838,7 +838,7 @@ def normalize(self, **kwargs):
# If there are deps specified but not visited, they're not
# actually deps of this package. Raise an error.
extra = set(spec_deps.viewkeys()).difference(visited)
extra = set(spec_deps.keys()).difference(visited)
# Also subtract out all the packags that provide a needed vpkg
vdeps = [v for v in self.package.virtual_dependencies()]