diff --git a/HLTrigger/Configuration/python/Tools/confdb.py b/HLTrigger/Configuration/python/Tools/confdb.py index 5baca70ccf561..af5dd84e5c611 100644 --- a/HLTrigger/Configuration/python/Tools/confdb.py +++ b/HLTrigger/Configuration/python/Tools/confdb.py @@ -1,6 +1,5 @@ #!/usr/bin/env python -from __future__ import absolute_import import sys import re import os diff --git a/HLTrigger/Configuration/scripts/edmPluginCoverage b/HLTrigger/Configuration/scripts/edmPluginCoverage index 25bfd38712ae2..8cde1172c0cec 100755 --- a/HLTrigger/Configuration/scripts/edmPluginCoverage +++ b/HLTrigger/Configuration/scripts/edmPluginCoverage @@ -3,7 +3,6 @@ # Author: Andrea 'fwyzard' Bocci , Università di Pisa -from __future__ import print_function import os, sys import re diff --git a/HLTrigger/HLTanalyzers/test/CreateCFGs.py b/HLTrigger/HLTanalyzers/test/CreateCFGs.py index a4a3fd0f494d2..d386aee906994 100755 --- a/HLTrigger/HLTanalyzers/test/CreateCFGs.py +++ b/HLTrigger/HLTanalyzers/test/CreateCFGs.py @@ -1,7 +1,6 @@ #!/usr/bin/env python # -from __future__ import print_function import sys,string,time,os ### parameters ### diff --git a/HLTrigger/HLTanalyzers/test/CreateFileLists.py b/HLTrigger/HLTanalyzers/test/CreateFileLists.py index 20d142dd6ed55..5daa5825b3841 100755 --- a/HLTrigger/HLTanalyzers/test/CreateFileLists.py +++ b/HLTrigger/HLTanalyzers/test/CreateFileLists.py @@ -1,7 +1,6 @@ #!/usr/bin/env python # -from __future__ import print_function import sys,string,time,os ### parameters ### diff --git a/HLTrigger/HLTanalyzers/test/efficiency.py b/HLTrigger/HLTanalyzers/test/efficiency.py index 29d616b11c729..7a4310e3ac591 100644 --- a/HLTrigger/HLTanalyzers/test/efficiency.py +++ b/HLTrigger/HLTanalyzers/test/efficiency.py @@ -1,4 +1,3 @@ -from __future__ import print_function ### assumes QCD_Pt-.../res/ folders are in current directory ### import glob, os, string diff --git a/HLTrigger/HLTanalyzers/test/fixTrue.py b/HLTrigger/HLTanalyzers/test/fixTrue.py index d43d1aec9399a..0c93e405ad1c4 100644 --- a/HLTrigger/HLTanalyzers/test/fixTrue.py +++ b/HLTrigger/HLTanalyzers/test/fixTrue.py @@ -1,6 +1,5 @@ #!/usr/bin/env python -from __future__ import print_function import sys, os, string def usage(): diff --git a/HLTrigger/Tools/python/OnlinePrescaleChecker/Page1Parser.py b/HLTrigger/Tools/python/OnlinePrescaleChecker/Page1Parser.py index 99139c4f267be..b6eea0fd7d909 100644 --- a/HLTrigger/Tools/python/OnlinePrescaleChecker/Page1Parser.py +++ b/HLTrigger/Tools/python/OnlinePrescaleChecker/Page1Parser.py @@ -1,4 +1,3 @@ -from __future__ import print_function from HTMLParser import HTMLParser from urllib2 import urlopen import cPickle as pickle diff --git a/HLTrigger/Tools/python/OnlinePrescaleChecker/PrescaleChecker.py b/HLTrigger/Tools/python/OnlinePrescaleChecker/PrescaleChecker.py index 136966979cf93..173fbfdc7f2f3 100755 --- a/HLTrigger/Tools/python/OnlinePrescaleChecker/PrescaleChecker.py +++ b/HLTrigger/Tools/python/OnlinePrescaleChecker/PrescaleChecker.py @@ -1,6 +1,4 @@ #!/usr/bin/env python -from __future__ import print_function -from __future__ import absolute_import from .Page1Parser import Page1Parser import sys import os diff --git a/HLTrigger/Tools/python/OnlinePrescaleChecker/TablePrint.py b/HLTrigger/Tools/python/OnlinePrescaleChecker/TablePrint.py index 0b2421bdcf7a9..a291b6d88017e 100644 --- a/HLTrigger/Tools/python/OnlinePrescaleChecker/TablePrint.py +++ b/HLTrigger/Tools/python/OnlinePrescaleChecker/TablePrint.py @@ -1,5 +1,3 @@ -from __future__ import print_function -from __future__ import absolute_import import sys from .colors import * write = sys.stdout.write diff --git a/HLTrigger/Tools/python/getHLTPrescaleColumns.py b/HLTrigger/Tools/python/getHLTPrescaleColumns.py index d2e8af4eb5275..f44dcf65a2559 100755 --- a/HLTrigger/Tools/python/getHLTPrescaleColumns.py +++ b/HLTrigger/Tools/python/getHLTPrescaleColumns.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -from __future__ import print_function -from __future__ import absolute_import from sys import stderr, exit import subprocess diff --git a/HLTrigger/Tools/python/getHLTkey.py b/HLTrigger/Tools/python/getHLTkey.py index f58273089eaba..e383078529bb2 100755 --- a/HLTrigger/Tools/python/getHLTkey.py +++ b/HLTrigger/Tools/python/getHLTkey.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -from __future__ import print_function -from __future__ import absolute_import from sys import stderr, exit diff --git a/HLTrigger/Tools/python/getHLTprescales.py b/HLTrigger/Tools/python/getHLTprescales.py index 00051d8662ff3..3d56d7bf3dca0 100755 --- a/HLTrigger/Tools/python/getHLTprescales.py +++ b/HLTrigger/Tools/python/getHLTprescales.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -from __future__ import print_function -from __future__ import absolute_import from sys import stderr, exit import subprocess diff --git a/HLTrigger/Tools/python/makeHLTPrescaleTable.py b/HLTrigger/Tools/python/makeHLTPrescaleTable.py index f673207a8ebaa..dae5f483e1c24 100755 --- a/HLTrigger/Tools/python/makeHLTPrescaleTable.py +++ b/HLTrigger/Tools/python/makeHLTPrescaleTable.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -from __future__ import print_function -from __future__ import absolute_import from sys import stderr, exit import subprocess, os diff --git a/HLTrigger/Tools/python/queryRR.py b/HLTrigger/Tools/python/queryRR.py index 5dac373ddc961..a35726014c8f3 100644 --- a/HLTrigger/Tools/python/queryRR.py +++ b/HLTrigger/Tools/python/queryRR.py @@ -2,7 +2,6 @@ # https://twiki.cern.ch/twiki/bin/viewauth/CMS/DqmRrApi -from __future__ import absolute_import from sys import stderr, exit import xml.dom.minidom from .rrapi import RRApi, RRApiError diff --git a/HLTrigger/Tools/python/rrapi.py b/HLTrigger/Tools/python/rrapi.py index b26e28209a58d..dbbd05668ee62 100644 --- a/HLTrigger/Tools/python/rrapi.py +++ b/HLTrigger/Tools/python/rrapi.py @@ -1,4 +1,3 @@ -from __future__ import print_function import urllib, re, json, socket """ diff --git a/HLTrigger/Tools/scripts/timingPdfMaker.py b/HLTrigger/Tools/scripts/timingPdfMaker.py index 8bf1c053dd73f..1c144269984bd 100755 --- a/HLTrigger/Tools/scripts/timingPdfMaker.py +++ b/HLTrigger/Tools/scripts/timingPdfMaker.py @@ -17,7 +17,6 @@ ## Imports ############################################ -from __future__ import print_function import os, glob import os.path import operator