[py] minor, replace exit with sys.exit

This commit is contained in:
Ebrahim Byagowi 2020-07-04 14:45:15 +04:30
parent a07672d353
commit 6a2b0ba78a
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
import os, sys, shutil
if len (sys.argv) < 3:
exit (__doc__)
sys.exit (__doc__)
OUTPUT = sys.argv[1]
CURRENT_SOURCE_DIR = sys.argv[2]

View File

@ -6,10 +6,10 @@ import os, os.path, sys, subprocess, shutil, tempfile
ragel = shutil.which ('ragel')
if not ragel:
exit ('You have to install ragel if you are going to develop HarfBuzz itself')
sys.exit ('You have to install ragel if you are going to develop HarfBuzz itself')
if len (sys.argv) < 4:
exit (__doc__)
sys.exit (__doc__)
OUTPUT = sys.argv[1]
CURRENT_SOURCE_DIR = sys.argv[2]