mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-03 09:13:12 +00:00
Moved import to the top
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user