From b98b6122044a40e195c4d868ae33890d59b2f0ea Mon Sep 17 00:00:00 2001 From: Peter Scheibel Date: Wed, 2 Dec 2015 18:10:28 -0800 Subject: Try to be more careful to only suppress the warning about nose already being imported. Other warnings should be output. --- bin/spack | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2