From abf7ee579e50154c67d39a76931d59ce6d7a9a1e Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Mon, 5 Oct 2015 13:23:00 -0500 Subject: [PATCH] sys.exit removal for cloud/google/gce_img.py and cloud/google/gce_tag.py --- cloud/google/gce_img.py | 1 - cloud/google/gce_tag.py | 1 - 2 files changed, 2 deletions(-) diff --git a/cloud/google/gce_img.py b/cloud/google/gce_img.py index 5775a94794d..a4a55c16dec 100644 --- a/cloud/google/gce_img.py +++ b/cloud/google/gce_img.py @@ -201,7 +201,6 @@ def main(): changed = delete_image(gce, name, module) module.exit_json(changed=changed, name=name) - sys.exit(0) # import module snippets from ansible.module_utils.basic import * diff --git a/cloud/google/gce_tag.py b/cloud/google/gce_tag.py index 186f570b3f1..4f60f58f760 100644 --- a/cloud/google/gce_tag.py +++ b/cloud/google/gce_tag.py @@ -219,7 +219,6 @@ def main(): changed, tags_changed = remove_tags(gce, module, instance_name, tags) module.exit_json(changed=changed, instance_name=instance_name, tags=tags_changed, zone=zone) - sys.exit(0) # import module snippets from ansible.module_utils.basic import *