This commit is contained in:
Adam J. Stewart 2016-08-02 11:21:23 -05:00
parent aa6a6df640
commit 0b8a3ad8ad

View File

@ -23,6 +23,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
from spack import *
import os
@ -85,7 +86,7 @@ def install(self, spec, prefix):
if file.find('matplotlibrc') != -1:
config_file = join_path(p, 'matplotlibrc')
print config_file
if config_file == None:
if not config_file:
raise InstallError('could not find config file')
filter_file(r'backend : pyside',
'backend : Qt4Agg',