We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8fcfe7b + 16d7f7b commit 6d5f32cCopy full SHA for 6d5f32c
1 file changed
scripts/osm2pgsql-replication
@@ -27,7 +27,6 @@ import sys
27
import subprocess
28
import tempfile
29
from textwrap import dedent
30
-import traceback
31
from pathlib import Path
32
import urllib.request as urlrequest
33
@@ -487,7 +486,7 @@ def main():
487
486
488
if args.subcommand is None:
489
parser.print_help()
490
- exit(1)
+ sys.exit(1)
491
492
logging.basicConfig(stream=sys.stderr,
493
format='{asctime} [{levelname}]: {message}',
@@ -509,4 +508,4 @@ def main():
509
508
510
511
if __name__ == '__main__':
512
- exit(main())
+ sys.exit(main())
0 commit comments