Skip to content

Commit

Permalink
Merge pull request #46780 from smuzaffar/misc3-py23-compatibility
Browse files Browse the repository at this point in the history
[MISC3] py2/3 compatibility:drop use of __future__
  • Loading branch information
cmsbuild authored Nov 27, 2024
2 parents 0137291 + b589c81 commit 5434ccd
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion PhysicsTools/NanoAOD/python/nano_cff.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import print_function
import FWCore.ParameterSet.Config as cms
from PhysicsTools.NanoAOD.common_cff import *
from PhysicsTools.NanoAOD.nano_eras_cff import *
Expand Down
1 change: 0 additions & 1 deletion PhysicsTools/NanoAODTools/test/exampleGenDump.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# https://cms-nanoaod-integration.web.cern.ch/integration/master-106X/mc106Xul18_doc.html#GenPart
# https://github.com/cms-sw/cmssw/blob/master/PhysicsTools/NanoAOD/python/genparticles_cff.py
# https://github.com/cms-sw/cmssw/blob/master/PhysicsTools/NanoAOD/plugins/LHETablesProducer.cc
from __future__ import print_function # for python3 compatibility
from PhysicsTools.NanoAODTools.postprocessing.framework.postprocessor import PostProcessor
from PhysicsTools.NanoAODTools.postprocessing.framework.eventloop import Module
from PhysicsTools.NanoAODTools.postprocessing.framework.datamodel import Collection
Expand Down
1 change: 0 additions & 1 deletion Validation/EventGenerator/python/genvalidTools.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import print_function
import FWCore.ParameterSet.Config as cms

#function to switch to an external weight producer for an analyzer in the validation chain
Expand Down

0 comments on commit 5434ccd

Please sign in to comment.