Skip to content

Commit

Permalink
Merge pull request #33813 from gartung/gartung-Utilities-StaticAnayze…
Browse files Browse the repository at this point in the history
…rs-scripts

Utilities/StaticAnalyzers: use python3 in scripts
  • Loading branch information
cmsbuild committed May 24, 2021
2 parents 76fb91b + f77adc9 commit 493c90b
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
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

0 comments on commit 493c90b

Please sign in to comment.