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

[MISC2] py2/3 compatibility:drop use of __future__ #46779

Merged
merged 1 commit into from
Nov 30, 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
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