msvc/*.py: Let main() return 0

This commit is contained in:
Tim Rühsen 2019-01-11 21:59:06 +01:00
parent 726d6773d4
commit c6fdf56b20
2 changed files with 5 additions and 1 deletions

View File

@ -28,5 +28,7 @@ def main(argv):
base_pc.srcdir + '/libpsl.pc',
pc_replace_items)
return 0
if __name__ == '__main__':
sys.exit(main(sys.argv))
sys.exit(main(sys.argv))

View File

@ -109,5 +109,7 @@ def main(argv):
replace(args.input, args.output, input_string, output_string)
return 0
if __name__ == '__main__':
sys.exit(main(sys.argv))