Comment 73 for bug 1631503

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/newton)

Reviewed: https://review.openstack.org/387715
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=ff9ffb8ab5ca38873f141a52f347e5116eb0bb06
Submitter: Jenkins
Branch: stable/newton

commit ff9ffb8ab5ca38873f141a52f347e5116eb0bb06
Author: Jeffrey Zhang <email address hidden>
Date: Fri Oct 14 16:44:54 2016 +0800

    move sys.exit out of try finally block in set_config.py file

    when code exit by using sys.exit in try..catch block, it will skip catch
    and run the code in finally. Because SystemExit does not inherit from
    Exception.

    This patch moves sys.exit out of finally block. Then it won't execute
    when script exits by sys.exit

    Change-Id: I6457b1b861d2f9fdadce788ac6b719f46c7f2af3
    Partial-Bug: #1631503
    (cherry picked from commit d1676d38e41bd1ec4f6468d47fdd7d1f076b6f43)