summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGregory Becker <becker33@llnl.gov>2015-08-25 16:28:55 -0700
committerGregory Becker <becker33@llnl.gov>2015-08-25 16:28:55 -0700
commitce8df65d7b9162b71be88e6268ee5172deab4cd9 (patch)
treebbd464ea924fae48068d44f664224ccdc6bb4e83 /lib
parente32c59f805c4e8d9cb23ce9fcf2edcf571ce3949 (diff)
downloadspack-ce8df65d7b9162b71be88e6268ee5172deab4cd9.tar.gz
spack-ce8df65d7b9162b71be88e6268ee5172deab4cd9.tar.bz2
spack-ce8df65d7b9162b71be88e6268ee5172deab4cd9.tar.xz
spack-ce8df65d7b9162b71be88e6268ee5172deab4cd9.zip
Eliminated unnecessary differences in pull request
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/directory_layout.py2
-rw-r--r--lib/spack/spack/package.py1
-rw-r--r--lib/spack/spack/spec.py1
3 files changed, 1 insertions, 3 deletions
diff --git a/lib/spack/spack/directory_layout.py b/lib/spack/spack/directory_layout.py
index 6dc1b0e550..e61929d8fd 100644
--- a/lib/spack/spack/directory_layout.py
+++ b/lib/spack/spack/directory_layout.py
@@ -37,7 +37,6 @@ from llnl.util.filesystem import join_path, mkdirp
from spack.spec import Spec
from spack.error import SpackError
-from spack.database import Database
def _check_concrete(spec):
@@ -154,7 +153,6 @@ class DirectoryLayout(object):
path = os.path.dirname(path)
-
class YamlDirectoryLayout(DirectoryLayout):
"""Lays out installation directories like this::
<install root>/
diff --git a/lib/spack/spack/package.py b/lib/spack/spack/package.py
index 929e0c086c..acf558d639 100644
--- a/lib/spack/spack/package.py
+++ b/lib/spack/spack/package.py
@@ -557,7 +557,6 @@ class Package(object):
@property
def installed(self):
- print self.prefix
return os.path.isdir(self.prefix)
diff --git a/lib/spack/spack/spec.py b/lib/spack/spack/spec.py
index df74b6064e..8050b73b9e 100644
--- a/lib/spack/spack/spec.py
+++ b/lib/spack/spack/spec.py
@@ -427,6 +427,7 @@ class Spec(object):
spec = dep if isinstance(dep, Spec) else Spec(dep)
self._add_dependency(spec)
+
#
# Private routines here are called by the parser when building a spec.
#