Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OPERATIONS] py2/3 compatibility:drop use of __future__ #46781

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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