summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPeter Scheibel <scheibel1@llnl.gov>2015-12-02 18:10:28 -0800
committerPeter Scheibel <scheibel1@llnl.gov>2015-12-02 18:10:28 -0800
commitb98b6122044a40e195c4d868ae33890d59b2f0ea (patch)
tree758c6654bb1dda47d9497a6da270076228211a39 /bin
parentc5ed7e2a15fe1b0a07cd50bbeee599e09f00a140 (diff)
downloadspack-b98b6122044a40e195c4d868ae33890d59b2f0ea.tar.gz
spack-b98b6122044a40e195c4d868ae33890d59b2f0ea.tar.bz2
spack-b98b6122044a40e195c4d868ae33890d59b2f0ea.tar.xz
spack-b98b6122044a40e195c4d868ae33890d59b2f0ea.zip
Try to be more careful to only suppress the warning about nose already being
imported. Other warnings should be output.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/spack2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/spack b/bin/spack
index b4f715ab60..45be6ee0ff 100755
--- a/bin/spack
+++ b/bin/spack
@@ -46,7 +46,7 @@ import warnings
# spack. Note this must be done after Spack's external libs directory is added
# to sys.path.
with warnings.catch_warnings():
- warnings.simplefilter("ignore")
+ warnings.filterwarnings("ignore", ".*nose was already imported")
import nose
# Quick and dirty check to clean orphaned .pyc files left over from