Skip to content

Commit

Permalink
Merge pull request #23981 from davidlange6/printMig_180721T4_DQMServi…
Browse files Browse the repository at this point in the history
…ces_StreamerIO

Print function migration for DQMServices_StreamerIO
  • Loading branch information
cmsbuild committed Jul 25, 2018
2 parents 504ae75 + 68ed1fb commit 0cb00e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions DQMServices/StreamerIO/scripts/personalPlayback.py
@@ -1,5 +1,6 @@
#!/usr/bin/env python

from __future__ import print_function
import os
import sys
import argparse
Expand Down Expand Up @@ -491,9 +492,9 @@ def do_exec(self):

root_log.info("Using directory: %s", path)

print "*"*80
print args
print "*"*80
print("*"*80)
print(args)
print("*"*80)

applets = []

Expand Down
@@ -1,3 +1,4 @@
from __future__ import print_function
import FWCore.ParameterSet.Config as cms
import sys

Expand All @@ -24,9 +25,9 @@
fileNames = cms.untracked.vstring(read),
secondaryFileNames = cms.untracked.vstring(sec),
)
print "Selected %d files.", process.source
print("Selected %d files.", process.source)

process.poolOutput = cms.OutputModule('DQMStreamerOutputRepackerTest')
process.output = cms.EndPath(process.poolOutput)

print process.source
print(process.source)

0 comments on commit 0cb00e0

Please sign in to comment.