fuel-agent/fuel_agent
gecong1973 5e78a69966 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: I6b472e0eb2fceb49bb506785f5188e023e1d3968
(cherry picked from commit 675eb6abaf)
2017-02-13 16:14:20 +00:00
..
cmd Using sys.exit(main()) instead of main() 2017-02-13 16:14:20 +00:00
drivers Allow fs creation if mountpoint is not specified 2016-12-20 16:45:10 +00:00
objects Allow fs creation if mountpoint is not specified 2016-12-20 16:45:10 +00:00
openstack Graduate to oslo.log and cleanup Oslo incubator 2016-06-08 11:58:59 -04:00
tests Allow fs creation if mountpoint is not specified 2016-12-20 16:45:10 +00:00
utils Merge "Revert "Disable cloud-init network auto configuration"" into stable/newton 2016-11-23 10:25:15 +00:00
__init__.py Upgrade hacking rules and fix new issues 2015-06-26 07:57:07 +00:00
errors.py Configure admin NIC prior the first system boot 2016-08-16 18:29:09 +03:00
hooks.py Remove pbr import from fuel_agent's setup.py 2015-07-07 14:48:59 +02:00
manager.py Allow fs creation if mountpoint is not specified 2016-12-20 16:45:10 +00:00
version.py Added Fuel agent 2014-07-10 19:05:58 +04:00