Skip to content

Commit 143134a

Browse files
Fix NameError bug: die(…) is Perl, sys.exit(…) is Python :-)
1 parent c258f99 commit 143134a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/cmpcodesize

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ def main():
350350
if not oldBuildDir:
351351
sys.exit("$SWIFT_OLD_BUILDDIR not specified")
352352
if not newBuildDir:
353-
die("$SWIFT_NEW_BUILDDIR not specified")
353+
sys.exit("$SWIFT_NEW_BUILDDIR not specified")
354354
oldFileArgs = [ "O", "Ounchecked", "Onone", "dylib" ]
355355
oldFiles = []
356356
newFiles = []

0 commit comments

Comments
 (0)