Skip to content

Commit

Permalink
Fix a bug about style_problem specified by CLI is unavailable
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuniwak committed Jan 25, 2015
1 parent 603a597 commit c3ba0d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vint/linting/config/config_cmdargs_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def _normalize_severity(self, env, config_dict):
# 1. error
# 2. warning
# 3. style problem
if env_cmdargs.get('style', False):
if env_cmdargs.get('style_problem', False):
config_dict_cmdargs['severity'] = Level.STYLE_PROBLEM

if env_cmdargs.get('warning', False):
Expand Down

0 comments on commit c3ba0d7

Please sign in to comment.