Skip to content

Commit

Permalink
fix the typo in the warnning message
Browse files Browse the repository at this point in the history
Signed-off-by: Xiangce Liu <[email protected]>
  • Loading branch information
xiangce committed Sep 5, 2024
1 parent f3250e0 commit a6683ba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions insights/client/collection_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

from six.moves import configparser as ConfigParser

from tempfile import NamedTemporaryFile
from . import crypto
from insights.client.constants import InsightsConstants as constants

APP_NAME = constants.app_name
Expand Down
2 changes: 1 addition & 1 deletion insights/client/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ def _validate_options(self):
sys.stdout.write('WARNING: Obfuscation reports will be created alongside the output directory.\n')
if self.core_collect is False:
if self._print_errors:
sys.stdout.write('WARNING: "core_collect=False" is not longer supported. "core_collect=True" will be used.\n')
sys.stdout.write('WARNING: "core_collect=False" is no longer supported. "core_collect=True" will be used.\n')
if self.output_file:
if os.path.exists(self.output_file):
raise ValueError('File %s already exists.' % self.output_file)
Expand Down

0 comments on commit a6683ba

Please sign in to comment.