[config] default stub install verbose

This commit is contained in:
mzwiessele 2015-10-10 13:32:32 +01:00
parent 3460b967a2
commit 096254a49c
4 changed files with 46 additions and 9 deletions

View file

@ -23,9 +23,8 @@ def change_plotting_library(lib):
#===========================================================================
except (ImportError, NameError):
config.set('plotting', 'library', 'none')
raise
import warnings
#warnings.warn(ImportWarning("{} not available, install newest version of {} for plotting".format(lib, lib)))
warnings.warn(ImportWarning("{} not available, install newest version of {} for plotting".format(lib, lib)))
from ..util.config import config
lib = config.get('plotting', 'library')