• Luong Anh Tuan's avatar
    Using sys.exit(main()) instead of main() · e5cb2569
    Luong Anh Tuan authored
    TrivialFix: Similar [1] in Kolla project
    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.
    Therefore, when using sys.exit(main()) instead of main()
    may be more readable and reasonable.
    
    [1] https://review.openstack.org/#/c/349353/
    
    Change-Id: Ied52a7631da82a72f0dcf2fc9ed81840d24041d9
    e5cb2569
Name
Last commit
Last update
api-ref/source Loading commit data...
contrib Loading commit data...
designate Loading commit data...
devstack Loading commit data...
doc Loading commit data...
etc/designate Loading commit data...
functionaltests Loading commit data...
rally-jobs Loading commit data...
releasenotes Loading commit data...
tools Loading commit data...
.coveragerc Loading commit data...
.gitignore Loading commit data...
.gitreview Loading commit data...
.testr.conf Loading commit data...
LICENSE Loading commit data...
README.rst Loading commit data...
babel.cfg Loading commit data...
designate.sublime-project Loading commit data...
ipa-requirements.txt Loading commit data...
openstack-common.conf Loading commit data...
requirements.txt Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...
test-requirements.txt Loading commit data...
tests-py3.txt Loading commit data...
tox.ini Loading commit data...