Skip to content

Commit

Permalink
fix KeyError: 'os'
Browse files Browse the repository at this point in the history
  • Loading branch information
smithfarm committed Jan 17, 2020
1 parent 4f8834e commit 66dda9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion teuthology/task/selinux.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def filter_hosts(self):
elif remote.os.name in ['opensuse', 'sle']:
msg = "Excluding {host}: \
SELinux is not supported for '{os}' os_type yet"
log.info(msg.format(host=remote.shortname))
log.info(msg.format(host=remote.shortname, os=remote.os.name))
elif remote.os.package_type == 'rpm':
new_cluster.add(remote, roles)
else:
Expand Down

0 comments on commit 66dda9a

Please sign in to comment.