Commit 979824ee by Nacho Coloma

Moved import to the top

parent 57428c48
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# #
import pprint
USER_AGENT_PRODUCT="Ansible-gce" USER_AGENT_PRODUCT="Ansible-gce"
USER_AGENT_VERSION="v1" USER_AGENT_VERSION="v1"
...@@ -64,5 +66,4 @@ def gce_connect(module): ...@@ -64,5 +66,4 @@ def gce_connect(module):
def unexpected_error_msg(error): def unexpected_error_msg(error):
"""Create an error string based on passed in error.""" """Create an error string based on passed in error."""
import pprint
return 'Unexpected response: ' + pprint.pformat(vars(error)) return 'Unexpected response: ' + pprint.pformat(vars(error))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment