New == syntax
diff --git a/Tools/scripts/xxci.py b/Tools/scripts/xxci.py
index ef4ff11..27bb71d 100755
--- a/Tools/scripts/xxci.py
+++ b/Tools/scripts/xxci.py
@@ -50,19 +50,19 @@
# Skip executables
try:
data = open(file, 'r').read(len(EXECMAGIC))
- if data = EXECMAGIC: return 1
+ if data == EXECMAGIC: return 1
except:
pass
return 0
def badprefix(file):
for bad in badprefixes:
- if file[:len(bad)] = bad: return 1
+ if file[:len(bad)] == bad: return 1
return 0
def badsuffix(file):
for bad in badsuffixes:
- if file[-len(bad):] = bad: return 1
+ if file[-len(bad):] == bad: return 1
return 0
def go(args):