From 2bb837aa18baff07dbd1bad187d770fccb8ee16f Mon Sep 17 00:00:00 2001 From: Shahzad Malik Muzaffar Date: Fri, 22 Nov 2024 18:18:03 +0100 Subject: [PATCH] [SIMULATION-UPGRADE] py2/3 compatibility:drop use of __future__ --- SLHCUpgradeSimulations/Configuration/python/muonCustoms.py | 1 - .../Configuration/python/muonCustomsPreMixing.py | 1 - SLHCUpgradeSimulations/Configuration/python/postLS1Customs.py | 1 - .../Configuration/python/postLS1CustomsPreMixing.py | 1 - .../HGCalSimProducers/python/customHGCdigitizer_cfi.py | 1 - SimCalorimetry/HGCalSimProducers/test/hgcalInjectTestHit_cfg.py | 1 - 6 files changed, 6 deletions(-) diff --git a/SLHCUpgradeSimulations/Configuration/python/muonCustoms.py b/SLHCUpgradeSimulations/Configuration/python/muonCustoms.py index 759973d8324bb..50c1599eac057 100644 --- a/SLHCUpgradeSimulations/Configuration/python/muonCustoms.py +++ b/SLHCUpgradeSimulations/Configuration/python/muonCustoms.py @@ -1,4 +1,3 @@ -from __future__ import print_function import FWCore.ParameterSet.Config as cms diff --git a/SLHCUpgradeSimulations/Configuration/python/muonCustomsPreMixing.py b/SLHCUpgradeSimulations/Configuration/python/muonCustomsPreMixing.py index a84a282a0b43f..4ce858874f6a1 100644 --- a/SLHCUpgradeSimulations/Configuration/python/muonCustomsPreMixing.py +++ b/SLHCUpgradeSimulations/Configuration/python/muonCustomsPreMixing.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import FWCore.ParameterSet.Config as cms from . import muonCustoms diff --git a/SLHCUpgradeSimulations/Configuration/python/postLS1Customs.py b/SLHCUpgradeSimulations/Configuration/python/postLS1Customs.py index e8096d7ac4501..3715fd574cdcf 100644 --- a/SLHCUpgradeSimulations/Configuration/python/postLS1Customs.py +++ b/SLHCUpgradeSimulations/Configuration/python/postLS1Customs.py @@ -1,4 +1,3 @@ -from __future__ import print_function import FWCore.ParameterSet.Config as cms def customisePostLS1_Common(process): diff --git a/SLHCUpgradeSimulations/Configuration/python/postLS1CustomsPreMixing.py b/SLHCUpgradeSimulations/Configuration/python/postLS1CustomsPreMixing.py index a30a8e42abbfa..31af59bb87c19 100644 --- a/SLHCUpgradeSimulations/Configuration/python/postLS1CustomsPreMixing.py +++ b/SLHCUpgradeSimulations/Configuration/python/postLS1CustomsPreMixing.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import FWCore.ParameterSet.Config as cms diff --git a/SimCalorimetry/HGCalSimProducers/python/customHGCdigitizer_cfi.py b/SimCalorimetry/HGCalSimProducers/python/customHGCdigitizer_cfi.py index f9b388dd2a147..675738b024f87 100644 --- a/SimCalorimetry/HGCalSimProducers/python/customHGCdigitizer_cfi.py +++ b/SimCalorimetry/HGCalSimProducers/python/customHGCdigitizer_cfi.py @@ -1,4 +1,3 @@ -from __future__ import print_function import FWCore.ParameterSet.Config as cms """ diff --git a/SimCalorimetry/HGCalSimProducers/test/hgcalInjectTestHit_cfg.py b/SimCalorimetry/HGCalSimProducers/test/hgcalInjectTestHit_cfg.py index 33085689d5bf6..dc27001fb37f9 100644 --- a/SimCalorimetry/HGCalSimProducers/test/hgcalInjectTestHit_cfg.py +++ b/SimCalorimetry/HGCalSimProducers/test/hgcalInjectTestHit_cfg.py @@ -1,4 +1,3 @@ -from __future__ import print_function import FWCore.ParameterSet.Config as cms process = cms.Process('DIGI')