summaryrefslogtreecommitdiffstats
path: root/utils/src/ooinstall/utils.py
diff options
context:
space:
mode:
authorTim Bielawa <tbielawa@redhat.com>2016-09-29 07:32:56 -0700
committerTim Bielawa <tbielawa@redhat.com>2016-09-29 07:43:54 -0700
commitba823255fcde17124b6dcc447bb00bc241346312 (patch)
treef37bc298467beadf3e1d4a722702a346f14de75c /utils/src/ooinstall/utils.py
parentbe3a68ae520d518daef2e35553c28cd150d3c344 (diff)
downloadopenshift-ba823255fcde17124b6dcc447bb00bc241346312.tar.gz
openshift-ba823255fcde17124b6dcc447bb00bc241346312.tar.bz2
openshift-ba823255fcde17124b6dcc447bb00bc241346312.tar.xz
openshift-ba823255fcde17124b6dcc447bb00bc241346312.zip
Fix conflicts in spec file
Diffstat (limited to 'utils/src/ooinstall/utils.py')
-rw-r--r--utils/src/ooinstall/utils.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/src/ooinstall/utils.py b/utils/src/ooinstall/utils.py
new file mode 100644
index 000000000..eb27a57e4
--- /dev/null
+++ b/utils/src/ooinstall/utils.py
@@ -0,0 +1,10 @@
+import logging
+
+installer_log = logging.getLogger('installer')
+
+
+def debug_env(env):
+ for k in sorted(env.keys()):
+ if k.startswith("OPENSHIFT") or k.startswith("ANSIBLE") or k.startswith("OO"):
+ installer_log.debug("{key}: {value}".format(
+ key=k, value=env[k]))