-
Notifications
You must be signed in to change notification settings - Fork 693
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added NoneType error check for convert_to_list #1517
Conversation
@snapshotleisure, you must sign our contributor license agreement before your changes are merged. Click here to sign the agreement. If you are a VMware employee, read this for further instruction. |
@snapshotleisure, we have received your signed contributor license agreement. The review is usually completed within a week, but may take longer under certain circumstances. Another comment will be added to the pull request to notify you when the merge can proceed. |
Hi @snapshotleisure,
Can you please send another patch please? |
Fixing convert_to_list function to handle input None
Fixes: #1508 Original author of this fix is: snapshotleisure <[email protected]> #1517 Change-Id: I32f1f352dea9d33de88f57a7180cfb1ea30f4f4a Signed-off-by: Shreenidhi Shedi <[email protected]> Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/c/photon/+/22341 Tested-by: gerrit-photon <[email protected]>
Fixes: #1508 Original author of this fix is: snapshotleisure <[email protected]> #1517 Change-Id: I4a04f852169fa5821f6aa25cb7ed072e5bc621c3 Signed-off-by: Shreenidhi Shedi <[email protected]> Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/c/photon/+/22343 Tested-by: gerrit-photon <[email protected]>
Fixes: #1508 Original author of this fix is: snapshotleisure <[email protected]> #1517 Change-Id: I32f1f352dea9d33de88f57a7180cfb1ea30f4f4a Signed-off-by: Shreenidhi Shedi <[email protected]> Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/c/photon/+/22342
@snapshotleisure, VMware has approved your signed contributor license agreement. |
Adding NoneType check to fix the issue #1508. The convert_to_list is not checking for NoneType which occurs when someone is using the tdnf module to perform a update_cache or upgrade command, as this does not populate the name argument which is used to create the pkglist.