msvc/*.py: Let main() return 0
This commit is contained in:
parent
726d6773d4
commit
c6fdf56b20
|
@ -28,5 +28,7 @@ def main(argv):
|
||||||
base_pc.srcdir + '/libpsl.pc',
|
base_pc.srcdir + '/libpsl.pc',
|
||||||
pc_replace_items)
|
pc_replace_items)
|
||||||
|
|
||||||
|
return 0
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
sys.exit(main(sys.argv))
|
sys.exit(main(sys.argv))
|
||||||
|
|
|
@ -109,5 +109,7 @@ def main(argv):
|
||||||
|
|
||||||
replace(args.input, args.output, input_string, output_string)
|
replace(args.input, args.output, input_string, output_string)
|
||||||
|
|
||||||
|
return 0
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
sys.exit(main(sys.argv))
|
sys.exit(main(sys.argv))
|
||||||
|
|
Loading…
Reference in New Issue