virt-manager/virtManager/details
Pavel Hrdina cf93e2dbff console: fix error with old pygobject
The code doesn't work as expected. From python documentation:

    x and y

is the same as

    x if not x or y

so in the code if for some reasone `dev` is None the value stored in
`sensitive` will be None as well.

No the code itself works with pygobject >= 3.31.3 where they allowed
None as a valid boolean value, but with older versions it will fail
with this error message:

    TypeError: Argument 1 does not allow None as a value

Resolves: https://github.com/virt-manager/virt-manager/issues/226

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2021-02-05 12:15:46 +01:00
..
__init__.py virtManager: move vmwindow components to virtManager/details 2019-06-17 00:12:32 -04:00
console.py console: fix error with old pygobject 2021-02-05 12:15:46 +01:00
details.py details: Log the active_edits list when warning about unapplied changes 2021-01-19 12:22:31 -05:00
serialcon.py console: Text console submenu improvements 2020-09-09 08:49:12 -04:00
snapshots.py vmwindow: vm state-changed update flow changes 2020-09-21 09:06:18 -04:00
sshtunnels.py uitests: Finish console.py and viewers.py coverage 2020-08-30 10:34:44 -04:00
viewers.py viewers: Fix spice audio 2020-09-21 11:35:51 -04:00