Closed dperpeet closed 8 years ago
An alert's level can be None, but DBUS doesn't allow that for string parameters.
Just using str() here isn't what we want, since str(None) is 'None'
str()
str(None)
'None'
Merged. Thanks!
https://github.com/fedora-selinux/setroubleshoot/commit/a1d303150b341d6cfdc1f7d36c38004cee01fdb7
An alert's level can be None, but DBUS doesn't allow that for string parameters.
Just using
str()
here isn't what we want, sincestr(None)
is'None'