mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-04 23:50:20 -07:00
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.
|
# 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):
|
||||||
|
|
||||||
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))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue