• 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
zoneextractor.py 7.14 KB