Fix beta check.
This commit is contained in:
parent
cd62853019
commit
962839eb69
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ def check_beta(args_dict):
|
|||
cmd = args_dict['command']
|
||||
if cmd in BETA_ARGS:
|
||||
for arg in BETA_ARGS[cmd]:
|
||||
if arg in args_dict:
|
||||
if arg in args_dict and args_dict[arg]:
|
||||
raise cdist.CdistBetaRequired(cmd, arg)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue