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

[DQM] Move to python3 all scripts in DQMServices #34374

Merged
merged 3 commits into from
Jul 7, 2021
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 DQMServices/Components/python/HTTP.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from builtins import range
from cStringIO import StringIO
from io import StringIO
from pycurl import *

class RequestManager:
Expand Down
2 changes: 1 addition & 1 deletion DQMServices/Components/python/X509.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, os.path
from getpass import getpass

Expand Down
2 changes: 1 addition & 1 deletion DQMServices/Components/scripts/dqm-access
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
Copy link
Contributor

@mmusich mmusich Apr 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


from DQMServices.Components.HTTP import RequestManager
from DQMServices.Components.X509 import SSLOptions
Expand Down
2 changes: 1 addition & 1 deletion DQMServices/Components/scripts/dqm-grep
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

"""Usage: dqm-grep -f PATTERN -e EXPRESSION [OPTIONS]

Expand Down
2 changes: 1 addition & 1 deletion DQMServices/Components/scripts/dqm-ls
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

"""Usage: dqm-ls [-s SERVER] [-n CONNECTIONS]

Expand Down
2 changes: 1 addition & 1 deletion DQMServices/Components/scripts/dqm-mbProfile.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 collections
Expand Down
2 changes: 1 addition & 1 deletion DQMServices/Components/scripts/dqmiodatasetharvest.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 re
import json
Expand Down
2 changes: 1 addition & 1 deletion DQMServices/Components/scripts/dqmiolumiharvest.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 os
import json
Expand Down
2 changes: 1 addition & 1 deletion DQMServices/Components/scripts/root2sqlite.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 re
import json
Expand Down
2 changes: 1 addition & 1 deletion DQMServices/Components/test/test_fastHaddMerge.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

"""Usage: test_fastHaddMerge.py [-t produce|check] [-n files]

Expand Down
2 changes: 1 addition & 1 deletion DQMServices/Demo/test/dqmiodumpentries.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import ROOT
import argparse
from collections import defaultdict
Expand Down
2 changes: 1 addition & 1 deletion DQMServices/FileIO/python/DQM.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/env python
#!/bin/env python3

from __future__ import print_function
from builtins import range
Expand Down
2 changes: 1 addition & 1 deletion DQMServices/FileIO/scripts/compareDQMOutput.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/env python
#!/bin/env python3

import os
import sys
Expand Down
2 changes: 1 addition & 1 deletion DQMServices/FileIO/scripts/compareHistograms.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/env python
#!/bin/env python3

from __future__ import print_function
import ROOT
Expand Down
2 changes: 1 addition & 1 deletion DQMServices/FileIO/scripts/dqmMemoryStats.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/env python
#!/bin/env python3

from __future__ import print_function
import sys
Expand Down
2 changes: 1 addition & 1 deletion DQMServices/FileIO/scripts/visDQMUpload.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 sys
Expand Down
2 changes: 1 addition & 1 deletion DQMServices/FwkIO/scripts/DQMIO2histo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/env python
#!/bin/env python3

"""
Script converting DQM I/O format input file into folder structured ROOT file.
Expand Down
2 changes: 1 addition & 1 deletion DQMServices/StreamerIO/scripts/esMonitoring.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import argparse
import subprocess
Expand Down
2 changes: 1 addition & 1 deletion DQMServices/StreamerIO/scripts/personalPlayback.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 os
Expand Down
2 changes: 1 addition & 1 deletion DQMServices/StreamerIO/scripts/ztail.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

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

import argparse
import subprocess
Expand Down