Skip to content

Commit

Permalink
Merge pull request #13147 from cms-sw/smuzaffar-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
cmsbuild committed Feb 1, 2016
2 parents a6d3e36 + ffdc419 commit e17b95c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions FWCore/Utilities/scripts/edmCheckClassTransients
Expand Up @@ -58,6 +58,11 @@ oparser.add_option("-f","--rootmap", dest="rmfiles", action="append", default=[]

(options,args)=oparser.parse_args()

#Need to not have ROOT load .rootlogon.(C|py) since it can cause interference.
# The only way to do that is to pass -n from the command line
import sys
sys.argv.append("-n")

import ROOT
#Keep ROOT from trying to use X11
ROOT.gROOT.SetBatch(True)
Expand Down

0 comments on commit e17b95c

Please sign in to comment.