Skip to content

Commit

Permalink
Merge pull request #46781 from smuzaffar/operations-py23-compatibility
Browse files Browse the repository at this point in the history
[OPERATIONS] py2/3 compatibility:drop use of __future__
  • Loading branch information
cmsbuild authored Nov 28, 2024
2 parents ab815ad + 6a1a334 commit 32a8385
Show file tree
Hide file tree
Showing 28 changed files with 0 additions and 28 deletions.
1 change: 0 additions & 1 deletion Configuration/DataProcessing/python/Impl/AlCa.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Scenario supporting proton collisions
"""
from __future__ import print_function

import os
import sys
Expand Down
1 change: 0 additions & 1 deletion Configuration/DataProcessing/python/Impl/AlCaNano.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Scenario supporting proton collisions for AlCa needs when ALCANANO is produced
"""
from __future__ import print_function

import os
import sys
Expand Down
1 change: 0 additions & 1 deletion Configuration/DataProcessing/python/Impl/AlCaPPS_Run3.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Scenario supporting proton collisions for AlCa needs for the CT-PPS detector
"""
from __future__ import print_function

import os
import sys
Expand Down
1 change: 0 additions & 1 deletion Configuration/DataProcessing/python/Impl/hltScouting.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"""

from __future__ import print_function

import os
import sys
Expand Down
1 change: 0 additions & 1 deletion Configuration/DataProcessing/python/Reco.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Scenario supporting proton collisions
"""
from __future__ import print_function

import os
import sys
Expand Down
1 change: 0 additions & 1 deletion Configuration/DataProcessing/python/RecoTLR.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

##############################################################################
Expand Down
1 change: 0 additions & 1 deletion Configuration/DataProcessing/test/RunAlcaHarvesting.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
testing with a few input files etc from the command line
"""
from __future__ import print_function

import sys
import getopt
Expand Down
1 change: 0 additions & 1 deletion Configuration/DataProcessing/test/RunAlcaSkimming.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
testing with a few input files etc from the command line
"""
from __future__ import print_function

import sys
import getopt
Expand Down
1 change: 0 additions & 1 deletion Configuration/DataProcessing/test/RunDQMHarvesting.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
testing with a few input files etc from the command line
"""
from __future__ import print_function

import sys
import getopt
Expand Down
1 change: 0 additions & 1 deletion Configuration/DataProcessing/test/RunExpressProcessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
it into cmsRun for testing with a few input files etc from the command line
"""
from __future__ import print_function

import sys
import getopt
Expand Down
1 change: 0 additions & 1 deletion Configuration/DataProcessing/test/RunMerge.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Test/Debugging harness for the merge configuration builder
"""
from __future__ import print_function



Expand Down
1 change: 0 additions & 1 deletion Configuration/DataProcessing/test/RunPromptReco.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
Test wrapper to generate a reco config and actually push it into cmsRun for
testing with a few input files etc from the command line
"""
from __future__ import print_function

import sys
import getopt
Expand Down
1 change: 0 additions & 1 deletion Configuration/DataProcessing/test/RunRepack.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Test/Debugging harness for the repack configuration builder
"""
from __future__ import print_function

import sys
import getopt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
it into cmsRun for testing with a few input files etc from the command line
"""
from __future__ import print_function

import sys
import getopt
Expand Down
1 change: 0 additions & 1 deletion Configuration/EventContent/test/fragments.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
import os
import pickle
Expand Down
1 change: 0 additions & 1 deletion Configuration/EventContent/test/makeSkim.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
cmsRun Configuration file that skims the data from the reconstructed events.
It is very general and allows to set in the metaconfig the parameters for the skimming.
'''
from __future__ import print_function

import FWCore.ParameterSet.Config as cms
# The meta configuration: 3 parameters
Expand Down
1 change: 0 additions & 1 deletion Configuration/EventContent/test/makeSkimDriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
r'''
The Wrapper for makeSkim.py, the general config for cmsRun.
'''
from __future__ import print_function

import optparse
import os
Expand Down
1 change: 0 additions & 1 deletion Configuration/StandardSequences/python/Eras.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 FWCore.ParameterSet.Config import ModifierChain,Modifier

Expand Down
1 change: 0 additions & 1 deletion Configuration/StandardSequences/python/Mixing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import print_function
Mixing = {}


Expand Down
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

## L1REPACK CalouGT : Re-Emulate all of L1 and repack into RAW
Expand Down
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

## L1REPACK Full2015Data : Re-Emulate all of L1 and repack into RAW
Expand Down
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

## L1REPACK FullMC : Re-Emulate all of L1 and repack into RAW
Expand Down
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

## L1REPACK FullSimTP : Re-Emulate all of L1 and repack into RAW
Expand Down
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

## L1REPACK Full : Re-Emulate all of L1 and repack into RAW
Expand Down
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

## L1REPACK uGT : Re-Emulate L1 uGT and repack into RAW
Expand Down
1 change: 0 additions & 1 deletion Configuration/StandardSequences/python/SkimsCosmics_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

def documentSkims():
Expand Down
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

def documentSkims():
Expand Down
1 change: 0 additions & 1 deletion Configuration/StandardSequences/python/Skims_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

def documentSkims():
Expand Down

0 comments on commit 32a8385

Please sign in to comment.