virt-manager/virtManager/device
Daniel Henrique Barboza 721108002d netlist.py: remove the extra 'None' return in get_network_selection()
Commit v2.2.1-200-g4c3c53f7 ("virtManager: Remove network portgroup
UI") removed 'portgroup', the fourth value of the returned tuple in
get_network_selection(), and all related code that was using this
extra value.

That change forgot to change the line where, if no rows are found, a
tuple with "None" values is returned. The "None" tuple is still
returning 4 "None" values. Since no remaining code is checking for
a fourth value, this is benign and has no impact in the logic.

'pylint' does not seem to care though, and it is complaining about
'unbalanced-tuple-unpacking' because, in the condition mentioned above,
a fourth "None" value is returned and no one is bothering checking for
it.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
2020-07-04 17:56:57 -04:00
..
__init__.py virtManager: move device UI files to virtManager/device/ 2019-06-17 00:12:32 -04:00
addstorage.py virtManager: Convert to CSS for most color usage 2020-02-03 07:05:11 -05:00
fsdetails.py virtManager: Move a lot of misc files to lib/ 2019-06-17 00:12:32 -04:00
gfxdetails.py virtinst: connection: Add is_privileged 2020-02-03 07:05:11 -05:00
mediacombo.py virtManager: Move a lot of misc files to lib/ 2019-06-17 00:12:32 -04:00
netlist.py netlist.py: remove the extra 'None' return in get_network_selection() 2020-07-04 17:56:57 -04:00
vsockdetails.py virtManager: Move a lot of misc files to lib/ 2019-06-17 00:12:32 -04:00