1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00

formatting

This commit is contained in:
Kelly Brazil
2021-09-25 08:19:34 -07:00
parent d6aec00e03
commit e6a80fea32
3 changed files with 7 additions and 7 deletions

View File

@ -9,7 +9,7 @@ from textwrap import TextWrapper
def warning_message(message_lines):
"""
Prints warning message for non-fatal issues. The first line is appended with
Prints warning message for non-fatal issues. The first line is prepended with
'jc: Warning - ' and subsequent lines are indented. Wraps text as needed based
on the terminal width.
@ -45,7 +45,7 @@ def warning_message(message_lines):
def error_message(message_lines):
"""
Prints an error message for fatal issues. The first line is appended with
Prints an error message for fatal issues. The first line is prepended with
'jc: Error - ' and subsequent lines are indented. Wraps text as needed based
on the terminal width.
@ -210,7 +210,7 @@ def convert_to_bool(value):
def stream_success(output_line, ignore_exceptions):
"""add _meta object to output line if -qq (ignore_exceptions) option is used"""
"""add _jc_meta object to output line if -qq (ignore_exceptions) option is used"""
if ignore_exceptions:
output_line.update({'_jc_meta': {'success': True}})