Flake8
This commit is contained in:
parent
aa6a6df640
commit
0b8a3ad8ad
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user