python-bugzilla icon indicating copy to clipboard operation
python-bugzilla copied to clipboard

Fix KeyError when no bug is retrieved

Open Zlopez opened this issue 3 years ago • 0 comments

Currently the _getbug method is trying to get element from list without checking if it's not empty. This commit will add the check and return None if no bug is found.

Zlopez avatar Mar 02 '22 13:03 Zlopez