Minor fix to imports in new stackdriver module

reviewable/pr18780/r1
James Cammarata 11 years ago
parent d64c0ae4f1
commit e9e2b110a8

@ -79,10 +79,9 @@ EXAMPLES = '''
# Stackdriver module specific support methods.
#
try:
import urllib, urllib2, json
import json
except ImportError:
module.fail_json(msg="json, urllib, and urllib2 are required")
import simplejson as json
def send_deploy_event(module, key, revision_id, deployed_by='Ansible', deployed_to=None, repository=None):
"""Send a deploy event to Stackdriver"""

Loading…
Cancel
Save