Skip to content

Commit

Permalink
Merge pull request #15845 from MilanoBicocca-pix/CMSSW_8_0_X
Browse files Browse the repository at this point in the history
[BeamSpot]: update script to condDB v2 commands
  • Loading branch information
cmsbuild committed Oct 6, 2016
2 parents 808fa49 + 3e887ab commit dfc82f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RecoVertex/BeamSpotProducer/scripts/CommonMethods.py
Expand Up @@ -926,7 +926,7 @@ def readSqliteFile(sqliteFileName,tagName,sqliteTemplateFile,tmpDir="/tmp/"):

###########################################################################################
def appendSqliteFile(combinedSqliteFileName, sqliteFileName, tagName, IOVSince, IOVTill ,tmpDir="/tmp/"):
aCommand = "cmscond_export_iov -d sqlite_file:" + tmpDir + combinedSqliteFileName + " -s sqlite_file:" + sqliteFileName + " -i " + tagName + " -t " + tagName + " -l sqlite_file:" + tmpDir + "log.db" + " -b " + IOVSince + " -e " + IOVTill
aCommand = "conddb_import -c sqlite_file:" + tmpDir + combinedSqliteFileName + " -f sqlite_file:" + sqliteFileName + " -i " + tagName + " -t " + tagName + " -b " + IOVSince + " -e " + IOVTill
print aCommand
std = commands.getstatusoutput(aCommand)
print std[1]
Expand Down

0 comments on commit dfc82f2

Please sign in to comment.