diff --git a/[refs] b/[refs] index d28b6722768f3..fc805f09452f7 100644 --- a/[refs] +++ b/[refs] @@ -1,3 +1,3 @@ --- refs/heads/gh-pages: 09c786f70121f131b3715aaf3464996502bbeb7e -"refs/heads/CMSSW_7_1_X": 80ba29a036ff094a56320f1fc066d72d6747d10d +"refs/heads/CMSSW_7_1_X": 6594d68fb50bb1b4f63e9a8cf2e2f5e0a5278570 diff --git a/trunk/Configuration/PyReleaseValidation/python/ConfigBuilder.py b/trunk/Configuration/PyReleaseValidation/python/ConfigBuilder.py index 913307a89eba0..7e896a552a94a 100644 --- a/trunk/Configuration/PyReleaseValidation/python/ConfigBuilder.py +++ b/trunk/Configuration/PyReleaseValidation/python/ConfigBuilder.py @@ -1,7 +1,7 @@ #! /usr/bin/env python -__version__ = "$Revision: 1.152 $" +__version__ = "$Revision: 1.153 $" __source__ = "$Source: /cvs_server/repositories/CMSSW/CMSSW/Configuration/PyReleaseValidation/python/ConfigBuilder.py,v $" import FWCore.ParameterSet.Config as cms @@ -310,8 +310,9 @@ def addCustomise(self): """Include the customise code """ # let python search for that package and do syntax checking at the same time - packageName = self._options.customisation_file.replace(".py","").replace(".","/") - package = __import__(packageName) + packageName = self._options.customisation_file.replace(".py","").replace("/",".") + __import__(packageName) + package = sys.modules[packageName] # now ask the package for its definition and pick .py instead of .pyc customiseFile = package.__file__.rstrip("c") @@ -813,7 +814,7 @@ def prepare_FASTSIM(self, sequence = "all"): def build_production_info(self, evt_type, evtnumber): """ Add useful info for the production. """ prod_info=cms.untracked.PSet\ - (version=cms.untracked.string("$Revision: 1.152 $"), + (version=cms.untracked.string("$Revision: 1.153 $"), name=cms.untracked.string("PyReleaseValidation"), annotation=cms.untracked.string(evt_type+ " nevts:"+str(evtnumber)) )