summaryrefslogtreecommitdiff
path: root/lib/spack/spack/report.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/spack/spack/report.py')
-rw-r--r--lib/spack/spack/report.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/spack/report.py b/lib/spack/spack/report.py
index c8975a8f77..b67f2e71cc 100644
--- a/lib/spack/spack/report.py
+++ b/lib/spack/spack/report.py
@@ -15,7 +15,7 @@ import llnl.util.lang
import spack.build_environment
import spack.fetch_strategy
-import spack.package
+import spack.package_base
from spack.install_test import TestSuite
from spack.reporter import Reporter
from spack.reporters.cdash import CDash
@@ -131,7 +131,7 @@ class InfoCollector(object):
"""
@functools.wraps(do_fn)
def wrapper(instance, *args, **kwargs):
- if isinstance(instance, spack.package.PackageBase):
+ if isinstance(instance, spack.package_base.PackageBase):
pkg = instance
elif hasattr(args[0], 'pkg'):
pkg = args[0].pkg