diff options
author | Jason Albert <albertj@us.ibm.com> | 2017-08-22 22:44:46 -0500 |
---|---|---|
committer | Jason Albert <albertj@us.ibm.com> | 2017-08-22 22:44:46 -0500 |
commit | 087f4d00803870b9a723087af27160775326870c (patch) | |
tree | 9f9da18a11dd68209d72ccc92414c8ff13939847 | |
parent | 21bfbf035fda6a9fc1c2855ddfee9f4adca20582 (diff) | |
download | vpdtools-087f4d00803870b9a723087af27160775326870c.tar.gz vpdtools-087f4d00803870b9a723087af27160775326870c.zip |
Added warn function to out module
-rw-r--r-- | pymod/out.py | 3 |
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)) |