mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-24 08:21:32 +01:00
[py] minor, replace exit with sys.exit
This commit is contained in:
1 parent
a07672d353
commit
6a2b0ba78a
2 files changed
+3
-3
No files matched your search
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user