diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2016-05-11 11:46:41 -0500 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2016-05-11 11:46:41 -0500 |
commit | c043275f1b83e54ad00355fdae255aa11a2d03e1 (patch) | |
tree | 69cc088509122ab5c924c8986ba4f533e1cf899a /lib | |
parent | 5879f8207fe005a485c09a3d8802493455ba16ac (diff) | |
download | spack-c043275f1b83e54ad00355fdae255aa11a2d03e1.tar.gz spack-c043275f1b83e54ad00355fdae255aa11a2d03e1.tar.bz2 spack-c043275f1b83e54ad00355fdae255aa11a2d03e1.tar.xz spack-c043275f1b83e54ad00355fdae255aa11a2d03e1.zip |
Final flake8 changes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/hooks/licensing.py | 1 | ||||
-rw-r--r-- | lib/spack/spack/package.py | 8 |
2 files changed, 2 insertions, 7 deletions
diff --git a/lib/spack/spack/hooks/licensing.py b/lib/spack/spack/hooks/licensing.py index 99521c8356..31f15cc3e9 100644 --- a/lib/spack/spack/hooks/licensing.py +++ b/lib/spack/spack/hooks/licensing.py @@ -134,4 +134,3 @@ def symlink_license(pkg): os.symlink(target, link_name) tty.msg("Added local symlink %s to global license file" % link_name) - diff --git a/lib/spack/spack/package.py b/lib/spack/spack/package.py index 17d92fdf79..8f8eb6db64 100644 --- a/lib/spack/spack/package.py +++ b/lib/spack/spack/package.py @@ -407,7 +407,6 @@ class Package(object): return join_path(global_license_dir, self.name, os.path.basename(self.license_files[0])) - @property def version(self): if not self.spec.versions.concrete: @@ -1021,7 +1020,6 @@ class Package(object): raise InstallError( "Install failed for %s. Nothing was installed!" % self.name) - def do_install_dependencies(self, **kwargs): # Pass along paths of dependencies here for dep in self.spec.dependencies.values(): @@ -1349,11 +1347,9 @@ class Package(object): def rpath(self): """Get the rpath this package links with, as a list of paths.""" rpaths = [self.prefix.lib, self.prefix.lib64] - rpaths.extend(d.prefix.lib - for d in self.spec.traverse(root=False) + rpaths.extend(d.prefix.lib for d in self.spec.traverse(root=False) if os.path.isdir(d.prefix.lib)) - rpaths.extend(d.prefix.lib64 - for d in self.spec.traverse(root=False) + rpaths.extend(d.prefix.lib64 for d in self.spec.traverse(root=False) if os.path.isdir(d.prefix.lib64)) return rpaths |