gecong1973 7313577cbb Using sys.exit(main()) instead of main()
As we known, Exceptions are raised by the sys.exit() function.
When they are not handled, no stack traceback is printed in the
Python interpreter. In this patch we have known main() got return
values(eg:0, 1), but it can't specifies exit status when terminate
the main thread by unusing sys.exit(). So when using sys.exit(main())
instead of main() may be more readable and reasonable.

Change-Id: If3c185c35220f5e185e9872a91898430d6353811
2017-01-04 16:52:54 +08:00
..
2013-07-06 15:02:43 -04:00
2016-07-12 09:05:22 -06:00
2016-07-12 09:05:22 -06:00
2016-07-12 09:05:22 -06:00
2016-07-12 09:05:22 -06:00