summaryrefslogtreecommitdiffstats
path: root/inventory/gce
diff options
context:
space:
mode:
authorChengcheng Mu <chengcheng.mu@amadeus.com>2015-10-01 15:33:32 +0200
committerChengcheng Mu <chengcheng.mu@amadeus.com>2015-10-01 15:33:32 +0200
commit9229927a98389f0dae2abb51e1df971f9457afb3 (patch)
tree0879f45639ba2d70813d177e78316f07e99017a3 /inventory/gce
parent79f1aaeea1e3adc8021f2de0b3c7cc2fcb33ef79 (diff)
downloadopenshift-9229927a98389f0dae2abb51e1df971f9457afb3.tar.gz
openshift-9229927a98389f0dae2abb51e1df971f9457afb3.tar.bz2
openshift-9229927a98389f0dae2abb51e1df971f9457afb3.tar.xz
openshift-9229927a98389f0dae2abb51e1df971f9457afb3.zip
oo_option fixed, some clean up
Diffstat (limited to 'inventory/gce')
-rwxr-xr-xinventory/gce/hosts/gce.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/inventory/gce/hosts/gce.py b/inventory/gce/hosts/gce.py
index bf018f1fe..6ed12e011 100755
--- a/inventory/gce/hosts/gce.py
+++ b/inventory/gce/hosts/gce.py
@@ -120,7 +120,6 @@ class GceInventory(object):
os.path.dirname(os.path.realpath(__file__)), "gce.ini")
gce_ini_path = os.environ.get('GCE_INI_PATH', gce_ini_default_path)
- print "GCE INI PATH :: "+gce_ini_path
# Create a ConfigParser.
# This provides empty defaults to each key, so that environment
@@ -175,10 +174,7 @@ class GceInventory(object):
args[1] = os.environ.get('GCE_PEM_FILE_PATH', args[1])
kwargs['project'] = os.environ.get('GCE_PROJECT', kwargs['project'])
- sys.stderr.write("GCE_EMAIL : "+args[0]+"\n")
- sys.stderr.write("GCE_PEM_FILE_PATH : "+args[1]+"\n")
- sys.stderr.write("GCE_PROJECT : "+kwargs['project']+"\n")
-
+
# Retrieve and return the GCE driver.
gce = get_driver(Provider.GCE)(*args, **kwargs)
gce.connection.user_agent_append(
@@ -291,5 +287,4 @@ class GceInventory(object):
# Run the script
-print "Hello world"
GceInventory()