diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2017-07-09 22:57:02 +0200 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2017-08-28 15:18:14 +0200 |
commit | 25cd520fc429c464846b0f986104db45b3bfaebb (patch) | |
tree | 3b8055f06c0b70d0cdd2431d2597f6173f3d643d /contrib/seeds | |
parent | f088a1bb392eaecd912ff9bca6967a8f4765c2b7 (diff) |
Use sys.exit(...) instead of exit(...): exit(...) should not be used in programs
Diffstat (limited to 'contrib/seeds')
-rwxr-xr-x | contrib/seeds/generate-seeds.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/seeds/generate-seeds.py b/contrib/seeds/generate-seeds.py index b0ac92ae03..28068a7523 100755 --- a/contrib/seeds/generate-seeds.py +++ b/contrib/seeds/generate-seeds.py @@ -114,7 +114,7 @@ def process_nodes(g, f, structname, defaultport): def main(): if len(sys.argv)<2: print(('Usage: %s <path_to_nodes_txt>' % sys.argv[0]), file=sys.stderr) - exit(1) + sys.exit(1) g = sys.stdout indir = sys.argv[1] g.write('#ifndef BITCOIN_CHAINPARAMSSEEDS_H\n') |