Correctly parse include_only_with_project_file when set to false #161
This commit is contained in:
parent
f958236b5d
commit
cfc93ff35c
2 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@ exclude =
|
|||
^/etc/
|
||||
include =
|
||||
.*
|
||||
include_only_with_project_file = false
|
||||
offline = false
|
||||
proxy = https://user:pass@localhost:8080
|
||||
no_ssl_verify = false
|
||||
|
|
|
@ -275,7 +275,7 @@ def parse_arguments():
|
|||
except TypeError: # pragma: nocover
|
||||
pass
|
||||
if not args.include_only_with_project_file and configs.has_option('settings', 'include_only_with_project_file'):
|
||||
args.include_only_with_project_file = configs.get('settings', 'include_only_with_project_file')
|
||||
args.include_only_with_project_file = configs.get('settings', 'include_only_with_project_file') == 'true'
|
||||
if not args.include:
|
||||
args.include = []
|
||||
if configs.has_option('settings', 'include'):
|
||||
|
|
Loading…
Reference in a new issue