~ma5dev/madanalysis5/v1.5beta

« back to all changes in this revision

Viewing changes to madanalysis/build/makefile_writer.py

  • Committer: Eric Conte
  • Date: 2016-12-08 10:28:55 UTC
  • Revision ID: eric.conte@cern.ch-20161208102855-thahw9h2be839yu6
update all-file with MA5banner + logging.getLogger(MA5)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
################################################################################
2
2
#  
3
 
#  Copyright (C) 2012-2013 Eric Conte, Benjamin Fuks
 
3
#  Copyright (C) 2012-2016 Eric Conte, Benjamin Fuks
4
4
#  The MadAnalysis development team, email: <ma5team@iphc.cnrs.fr>
5
5
#  
6
6
#  This file is part of MadAnalysis 5.
60
60
        try:
61
61
            file = open(filename,"w")
62
62
        except:
63
 
            logging.error('impossible to write the file '+filename)
 
63
            logging.getLogger('MA5').error('impossible to write the file '+filename)
64
64
            return False
65
65
 
66
66
        # Header
194
194
        try:
195
195
            file = open(MakefileName,"w")
196
196
        except:
197
 
            logging.error('impossible to write the file '+MakefileName)
 
197
            logging.getLogger('MA5').error('impossible to write the file '+MakefileName)
198
198
            return False
199
199
 
200
200
        # Header