Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77723
b: "refs/heads/CMSSW_7_1_X"
c: 6594d68
h: "refs/heads/CMSSW_7_1_X"
i:
  77721: 10a6212
  77719: 06a0021
v: v3
  • Loading branch information
Benedikt Hegner committed Nov 12, 2009
1 parent 984a525 commit 931e4ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
refs/heads/gh-pages: 09c786f70121f131b3715aaf3464996502bbeb7e
"refs/heads/CMSSW_7_1_X": 80ba29a036ff094a56320f1fc066d72d6747d10d
"refs/heads/CMSSW_7_1_X": 6594d68fb50bb1b4f63e9a8cf2e2f5e0a5278570
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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")
Expand Down Expand Up @@ -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))
)
Expand Down

0 comments on commit 931e4ed

Please sign in to comment.