Skip to content

Commit

Permalink
Ignore rootlogon to avoid conflicts
Browse files Browse the repository at this point in the history
Fix for edmCheckClassTransients (same fix as #13113)
  • Loading branch information
smuzaffar committed Feb 1, 2016
1 parent b0cabfa commit 720081a
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 720081a

Please sign in to comment.