summaryrefslogtreecommitdiffstats
path: root/Mac/BuildScript
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/BuildScript')
-rwxr-xr-xMac/BuildScript/build-installer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
index 0b62ea6..6cf9c21 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -289,7 +289,7 @@ def runCommand(commandline):
fd = os.popen(commandline, 'r')
data = fd.read()
xit = fd.close()
- if xit != None:
+ if xit is not None:
sys.stdout.write(data)
raise RuntimeError("command failed: %s"%(commandline,))
@@ -300,7 +300,7 @@ def captureCommand(commandline):
fd = os.popen(commandline, 'r')
data = fd.read()
xit = fd.close()
- if xit != None:
+ if xit is not None:
sys.stdout.write(data)
raise RuntimeError("command failed: %s"%(commandline,))