Comment 57 for bug 1631503

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

Reviewed: https://review.openstack.org/386478
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=d1676d38e41bd1ec4f6468d47fdd7d1f076b6f43
Submitter: Jenkins
Branch: master

commit d1676d38e41bd1ec4f6468d47fdd7d1f076b6f43
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