Moved import to the top
This commit is contained in:
parent
57428c48a2
commit
979824eedc
1 changed files with 2 additions and 1 deletions
|
@ -27,6 +27,8 @@
|
|||
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
import pprint
|
||||
|
||||
USER_AGENT_PRODUCT="Ansible-gce"
|
||||
USER_AGENT_VERSION="v1"
|
||||
|
||||
|
@ -64,5 +66,4 @@ def gce_connect(module):
|
|||
|
||||
def unexpected_error_msg(error):
|
||||
"""Create an error string based on passed in error."""
|
||||
import pprint
|
||||
return 'Unexpected response: ' + pprint.pformat(vars(error))
|
||||
|
|
Loading…
Reference in a new issue