Skip to content

Commit

Permalink
Merge pull request #8005 from maniqui/develop
Browse files Browse the repository at this point in the history
Added: missing newlines (\n) in warning messages.
  • Loading branch information
andresriancho committed Feb 3, 2015
2 parents 0eed2e8 + d76e9d7 commit 22c7549
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion w3af/core/ui/console/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def _enablePlugins(self, list):
#
if self._name == 'output' and 'console' not in enabled and \
len(enabled) == 0:
msg = "Warning: You disabled the console output plugin. If you"\
msg = "\nWarning: You disabled the console output plugin. If you"\
" start a new scan, the discovered vulnerabilities won\'t be"\
" printed to the console, we advise you to enable at least"\
" one output plugin in order to be able to actually see the"\
Expand Down
2 changes: 1 addition & 1 deletion w3af/core/ui/console/rootMenu.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def _cmd_start(self, params):
# Check if the console output plugin is enabled or not, and warn.
output_plugins = self._w3af.plugins.get_enabled_plugins('output')
if 'console' not in output_plugins:
msg = "Warning: You disabled the console output plugin. If you"\
msg = "\nWarning: You disabled the console output plugin. If you"\
" start a new scan, the discovered vulnerabilities won\'t be"\
" printed to the console, we advise you to enable at least"\
" one output plugin in order to be able to actually see the"\
Expand Down

0 comments on commit 22c7549

Please sign in to comment.