New pause function

Change-Id: I0e0bc61543846a9d478e27d3f4e395f4f504085f
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/lib/gen_misc.py b/lib/gen_misc.py
index 38c77f6..b6851ec 100755
--- a/lib/gen_misc.py
+++ b/lib/gen_misc.py
@@ -668,3 +668,19 @@
     temp_file_path = temp_dir_path + temp_file_name
 
     return temp_file_path
+
+
+def pause(message="Hit enter to continue..."):
+    r"""
+    Print the message, with time stamp, and pause until the user hits enter.
+
+    Description of argument(s):
+    message                         The message to be printed to stdout.
+    """
+    gp.print_time(message)
+    try:
+        input()
+    except SyntaxError:
+        pass
+
+    return