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