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

Update script shebangs to python3 #15701

Merged
merged 1 commit into from
Jan 22, 2020
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 dev-tools/aggregate_coverage.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

"""Simple script to concatenate coverage reports.
"""
Expand Down
2 changes: 1 addition & 1 deletion dev-tools/deploy
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 argparse
from subprocess import check_call
Expand Down
2 changes: 1 addition & 1 deletion dev-tools/get_version
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 re
import argparse
Expand Down
2 changes: 1 addition & 1 deletion dev-tools/merge_pr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import sys
import argparse
from subprocess import check_call, call, check_output
Expand Down
2 changes: 1 addition & 1 deletion dev-tools/open_pr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
"""Open a PR from the current branch"""

import sys
Expand Down
2 changes: 1 addition & 1 deletion dev-tools/promote_docs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import argparse
from subprocess import check_call

Expand Down
2 changes: 1 addition & 1 deletion dev-tools/set_docs_version
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import argparse
from subprocess import check_call

Expand Down
2 changes: 1 addition & 1 deletion dev-tools/set_version
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 os
import re
Expand Down
2 changes: 1 addition & 1 deletion filebeat/tests/system/test_input.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

from filebeat import BaseTest
import os
Expand Down
2 changes: 1 addition & 1 deletion filebeat/tests/system/test_registrar.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
"""Test the registrar"""
import os
import platform
Expand Down
2 changes: 1 addition & 1 deletion filebeat/tests/system/test_registrar_upgrade.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
"""Test the registrar with old registry file formats"""

import os
Expand Down
2 changes: 1 addition & 1 deletion filebeat/tests/system/test_stdin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

from filebeat import BaseTest
import os
Expand Down
2 changes: 1 addition & 1 deletion libbeat/scripts/generate_makefile_doc.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 generates and output a documentation from a list of Makefile files
Expand Down
2 changes: 1 addition & 1 deletion packetbeat/tests/system/gen/memcache/tcp_counter_ops.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import mc

Expand Down
2 changes: 1 addition & 1 deletion packetbeat/tests/system/gen/memcache/tcp_delete.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import mc

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import mc

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import mc

Expand Down
2 changes: 1 addition & 1 deletion packetbeat/tests/system/gen/memcache/tcp_stats.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import mc

Expand Down
2 changes: 1 addition & 1 deletion packetbeat/tests/system/gen/memcache/udp_counter_ops.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import mc

Expand Down
2 changes: 1 addition & 1 deletion packetbeat/tests/system/gen/memcache/udp_delete.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import mc

Expand Down
2 changes: 1 addition & 1 deletion packetbeat/tests/system/gen/memcache/udp_multi_store.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import mc

Expand Down
2 changes: 1 addition & 1 deletion packetbeat/tests/system/gen/memcache/udp_single_store.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import mc

Expand Down