scripts: use in even more

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
Ján Tomko
2019-11-20 20:10:13 +01:00
parent 65366bd960
commit e633461bdf
6 changed files with 11 additions and 11 deletions

View File

@@ -46,7 +46,7 @@ def load_file(fh):
instatus = True
elif re.search(r'''enum remote_auth_type''', line):
inauth = True
elif line.find("}") != -1:
elif "}" in line:
intype = False
instatus = False
inauth = False