summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2014-08-10 17:57:10 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2014-08-10 18:05:52 -0700
commit696e80c62f548c71220fe37545f6ff7abc3f4e22 (patch)
treeb0b8dafd745d63106f78f9e33aa4bacdd1271197 /lib
parentd95e7ecfe1ea7bb84c5b4f1e2e59045b0d89e34e (diff)
downloadspack-696e80c62f548c71220fe37545f6ff7abc3f4e22.tar.gz
spack-696e80c62f548c71220fe37545f6ff7abc3f4e22.tar.bz2
spack-696e80c62f548c71220fe37545f6ff7abc3f4e22.tar.xz
spack-696e80c62f548c71220fe37545f6ff7abc3f4e22.zip
Get rid of Python 2.7 dict.viewkeys() call.
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/spec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/spec.py b/lib/spack/spack/spec.py
index aa6397271b..4838fd9946 100644
--- a/lib/spack/spack/spec.py
+++ b/lib/spack/spack/spec.py
@@ -838,7 +838,7 @@ class Spec(object):
# 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()]