mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #15037 from vladpanainte/gce_fix
remove logging warning from GCE inventory
This commit is contained in:
commit
6bf92e7398
1 changed files with 3 additions and 0 deletions
|
@ -90,6 +90,9 @@ import os
|
||||||
import argparse
|
import argparse
|
||||||
import ConfigParser
|
import ConfigParser
|
||||||
|
|
||||||
|
import logging
|
||||||
|
logging.getLogger('libcloud.common.google').addHandler(logging.NullHandler())
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import json
|
import json
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|
Loading…
Reference in a new issue