sys.exit removal for cloud/google/gce_img.py and cloud/google/gce_tag.py

reviewable/pr18780/r1
Matt Martz 9 years ago
parent 55dab7cd1b
commit abf7ee579e

@ -201,7 +201,6 @@ def main():
changed = delete_image(gce, name, module) changed = delete_image(gce, name, module)
module.exit_json(changed=changed, name=name) module.exit_json(changed=changed, name=name)
sys.exit(0)
# import module snippets # import module snippets
from ansible.module_utils.basic import * from ansible.module_utils.basic import *

@ -219,7 +219,6 @@ def main():
changed, tags_changed = remove_tags(gce, module, instance_name, tags) changed, tags_changed = remove_tags(gce, module, instance_name, tags)
module.exit_json(changed=changed, instance_name=instance_name, tags=tags_changed, zone=zone) module.exit_json(changed=changed, instance_name=instance_name, tags=tags_changed, zone=zone)
sys.exit(0)
# import module snippets # import module snippets
from ansible.module_utils.basic import * from ansible.module_utils.basic import *

Loading…
Cancel
Save