diff options
-rw-r--r-- | lib/spack/spack/relocate.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/spack/spack/relocate.py b/lib/spack/spack/relocate.py index 41770103b0..41faf273cd 100644 --- a/lib/spack/spack/relocate.py +++ b/lib/spack/spack/relocate.py @@ -140,10 +140,6 @@ def _make_relative(reference_file, path_root, paths): Returns: List of relative paths """ - # Check prerequisites of the function - msg = "{0} is not a file".format(reference_file) - assert os.path.isfile(reference_file), msg - start_directory = os.path.dirname(reference_file) pattern = re.compile(path_root) relative_paths = [] |