From 29dbdff61ad6d8c0c24c3cbd7ae06e98265260b9 Mon Sep 17 00:00:00 2001 From: Ji Ma <11808231+ma-ji@users.noreply.github.com> Date: Thu, 18 Feb 2021 23:31:43 -0600 Subject: [PATCH] Update xmlrunner.py add `if verbose` to `run_sked` --- irs_reader/xmlrunner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/irs_reader/xmlrunner.py b/irs_reader/xmlrunner.py index d8ca396..725f628 100644 --- a/irs_reader/xmlrunner.py +++ b/irs_reader/xmlrunner.py @@ -178,5 +178,6 @@ def run_sked(self, object_id, sked, verbose=False): this_filing.set_keyerrors(self.filing_keyerr_data) return this_filing else: - print("Filing version %s isn't supported for this operation" % this_version ) + if verbose: + print("Filing version %s isn't supported for this operation" % this_version ) return this_filing