aboutsummaryrefslogtreecommitdiff
path: root/contrib/devtools/security-check.py
diff options
context:
space:
mode:
authorTyler Chambers <[email protected]>2020-11-08 16:35:13 -0500
committerTyler Chambers <[email protected]>2020-11-09 10:21:51 -0500
commitb6121edf70a8d50fd16ddbba0c3168e5e49bfc2e (patch)
tree512a3d3a835be826adff9f42f4f4852033d8eef8 /contrib/devtools/security-check.py
parentMerge #20315: travis: Remove s390x build (diff)
downloaddiscoin-b6121edf70a8d50fd16ddbba0c3168e5e49bfc2e.tar.xz
discoin-b6121edf70a8d50fd16ddbba0c3168e5e49bfc2e.zip
swapped "is" for "==" in literal comparison
update lint-python.sh to include check F632
Diffstat (limited to 'contrib/devtools/security-check.py')
-rwxr-xr-xcontrib/devtools/security-check.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/devtools/security-check.py b/contrib/devtools/security-check.py
index dc74de919..02615edb5 100755
--- a/contrib/devtools/security-check.py
+++ b/contrib/devtools/security-check.py
@@ -62,7 +62,7 @@ def get_ELF_program_headers(executable):
splitline = [x.strip() for x in line.split()]
flags = splitline[ofs_flags]
# check for 'R', ' E'
- if splitline[ofs_flags + 1] is 'E':
+ if splitline[ofs_flags + 1] == 'E':
flags += ' E'
headers.append((typ, flags, []))
count += 1