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

[ANALYSIS] Update all the scripts to use python3 #37108

Merged
merged 1 commit into from
Mar 2, 2022
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
2 changes: 1 addition & 1 deletion PhysicsTools/FWLite/scripts/newFWLiteAna.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3

from __future__ import print_function
import optparse
Expand Down
2 changes: 1 addition & 1 deletion PhysicsTools/Heppy/scripts/cmsBatch.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# Colin
# batch mode for cmsRun, March 2009

Expand Down
2 changes: 1 addition & 1 deletion PhysicsTools/Heppy/scripts/cmsStageWithFailover.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

#this script runs cmsStage multiple times in the case where it failes for some reason

Expand Down
2 changes: 1 addition & 1 deletion PhysicsTools/Heppy/scripts/heppy_report.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
from __future__ import print_function
from builtins import range
from optparse import OptionParser
Expand Down
2 changes: 1 addition & 1 deletion PhysicsTools/HeppyCore/python/utils/das.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#pylint: disable-msg=C0301,C0103

"""
Expand Down
2 changes: 1 addition & 1 deletion PhysicsTools/HeppyCore/python/utils/dataset.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

from __future__ import print_function
from __future__ import absolute_import
Expand Down
2 changes: 1 addition & 1 deletion PhysicsTools/HeppyCore/python/utils/edmIntegrityCheck.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
"""
Classes to check that a set of ROOT files are OK and publish a report
"""
Expand Down
2 changes: 1 addition & 1 deletion PhysicsTools/HeppyCore/scripts/das.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3


from PhysicsTools.HeppyCore.utils.das import *
Expand Down
2 changes: 1 addition & 1 deletion PhysicsTools/HeppyCore/scripts/dataset.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import os
import pprint
Expand Down
2 changes: 1 addition & 1 deletion PhysicsTools/HeppyCore/scripts/edmIntegrityCheck.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

from __future__ import print_function
from PhysicsTools.HeppyCore.utils.edmIntegrityCheck import PublishToFileSystem, IntegrityCheck
Expand Down
2 changes: 1 addition & 1 deletion PhysicsTools/HeppyCore/scripts/heppy_batch.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/env python
#!/usr/bin/env python3

from __future__ import print_function
from builtins import range
Expand Down
2 changes: 1 addition & 1 deletion PhysicsTools/HeppyCore/scripts/heppy_check.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# Copyright (C) 2014 Colin Bernet
# https://github.com/cbernet/heppy/blob/master/LICENSE

Expand Down
2 changes: 1 addition & 1 deletion PhysicsTools/HeppyCore/scripts/heppy_hadd.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# Copyright (C) 2014 Colin Bernet
# https://github.com/cbernet/heppy/blob/master/LICENSE

Expand Down