mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-19 00:17:51 +02:00
use _parser_is_streaming from lib
This commit is contained in:
@ -553,7 +553,7 @@ def main():
|
|||||||
raise
|
raise
|
||||||
|
|
||||||
streaming_msg = ''
|
streaming_msg = ''
|
||||||
if getattr(parser.info, 'streaming', None):
|
if _parser_is_streaming(parser):
|
||||||
streaming_msg = 'Use the -qq option to ignore streaming parser errors.'
|
streaming_msg = 'Use the -qq option to ignore streaming parser errors.'
|
||||||
|
|
||||||
utils.error_message([
|
utils.error_message([
|
||||||
|
Reference in New Issue
Block a user