Skip to content

Commit 43971db

Browse files
committed
Clean up config checking for 'verbose'
1 parent 5efc870 commit 43971db

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

contrib/init/51_config

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ def generate_args(config_entry):
3939
args.append('--sos_type')
4040
args.append(config_entry['sos_type'])
4141

42-
if 'verbose' in config_entry:
43-
if config_entry['verbose'] == True:
42+
if config_entry.get('verbose') == True:
4443
args.append('--verbose')
4544

4645
return ' '.join(args)

0 commit comments

Comments
 (0)