summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Albert <albertj@us.ibm.com>2017-08-22 22:44:46 -0500
committerJason Albert <albertj@us.ibm.com>2017-08-22 22:44:46 -0500
commit087f4d00803870b9a723087af27160775326870c (patch)
tree9f9da18a11dd68209d72ccc92414c8ff13939847
parent21bfbf035fda6a9fc1c2855ddfee9f4adca20582 (diff)
downloadvpdtools-087f4d00803870b9a723087af27160775326870c.tar.gz
vpdtools-087f4d00803870b9a723087af27160775326870c.zip
Added warn function to out module
-rw-r--r--pymod/out.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pymod/out.py b/pymod/out.py
index 9cfa7d7..bca6848 100644
--- a/pymod/out.py
+++ b/pymod/out.py
@@ -22,6 +22,9 @@ __m.indent = 0
def error(message):
print((' ' * __m.indent) + ("ERROR: %s" % message))
+def warn(message):
+ print((' ' * __m.indent) + ("WARNING: %s" % message))
+
# Common function for debug printing
def debug(message):
print((' ' * __m.indent) + ("DEBUG: %s" % message))
OpenPOWER on IntegriCloud