Skip to content

Commit

Permalink
[MISC2] py2/3 compatibility:drop use of __future__
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Nov 22, 2024
1 parent 92333e3 commit 2c224d4
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 11 deletions.
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.VarParsing import VarParsing
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#! /usr/bin/env python

from __future__ import print_function
import os
import sys
import fileinput
Expand Down
1 change: 0 additions & 1 deletion Fireworks/Geometry/python/dumpRecoGeometry_cfg.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 sys, os
import FWCore.ParameterSet.VarParsing as VarParsing
Expand Down
1 change: 0 additions & 1 deletion Fireworks/Geometry/python/dumpSimGeometry_cfg.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 sys, os
import FWCore.ParameterSet.VarParsing as VarParsing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
# Author: Dominik Beutel


from __future__ import print_function
import argparse
import sys
import os
Expand Down
1 change: 0 additions & 1 deletion GeneratorInterface/LHEInterface/scripts/addLHEnumbers.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python3

from __future__ import print_function
import logging
import argparse
import sys
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

"""
from __future__ import print_function
print('Starting cmsLHEtoEOSManager.py')
__version__ = "$Revision: 1.13 $"
Expand Down
1 change: 0 additions & 1 deletion GeneratorInterface/LHEInterface/scripts/mergeLHE.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python3

from __future__ import print_function
import logging
import argparse
import math
Expand Down
1 change: 0 additions & 1 deletion Geometry/TrackerCommonData/test/insertMaterial.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python
from __future__ import print_function
import sys
import xml.dom.minidom
import math
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
import sys
import FWCore.ParameterSet.VarParsing as VarParsing
Expand Down
1 change: 0 additions & 1 deletion HeterogeneousCore/CUDAServices/scripts/cudaPreallocate.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python3

from __future__ import print_function
import re
import sys
import argparse
Expand Down

0 comments on commit 2c224d4

Please sign in to comment.