Skip to content

Commit

Permalink
python print migration DQMServices/StreamerIO
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlange6 committed Jul 24, 2018
1 parent 509583d commit 68ed1fb
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 68ed1fb

Please sign in to comment.