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

Utilities/StaticAnalyzers: use python3 in scripts #33813

Merged
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 Utilities/StaticAnalyzers/scripts/callgraph.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 yaml
Expand Down
2 changes: 1 addition & 1 deletion Utilities/StaticAnalyzers/scripts/class-composition.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
stdcl = re.compile("^std::(.*)[^>]$")
Expand Down
2 changes: 1 addition & 1 deletion Utilities/StaticAnalyzers/scripts/classnames-extract.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3

f = open('classes.txt','r')
g = open('classnames.txt','w')
Expand Down
2 changes: 1 addition & 1 deletion Utilities/StaticAnalyzers/scripts/data-class-funcs.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
datacl = re.compile("^class ")
Expand Down
2 changes: 1 addition & 1 deletion Utilities/StaticAnalyzers/scripts/edm-global-class.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
datacl = re.compile("^class ")
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 lxml
from bs4 import BeautifulSoup
import sys, os
Expand Down
2 changes: 1 addition & 1 deletion Utilities/StaticAnalyzers/scripts/statics.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
import re
Expand Down
2 changes: 1 addition & 1 deletion Utilities/StaticAnalyzers/scripts/symbols.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 collections
Expand Down