Skip to content
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

LGTM.com - false positive : Once ipdb is initialized and if i do CTRL-C, the code is reachable. #3746

Open
padmanarayana opened this issue Jun 19, 2020 · 2 comments

Comments

@padmanarayana
Copy link

Description of the false positive

Once ipdb is initialized and if i do CTRL-C, the code is reachable.

URL to the alert on the project page on LGTM.com
https://lgtm.com/projects/g/Azure/sonic-buildimage/snapshot/05ece9b3196563683caf191febe1a4d23c22d3e0/files/dockers/docker-sflow/port_index_mapper.py?sort=name&dir=ASC&mode=heatmap#x461799ad8bd2f5ca:1

@padmanarayana padmanarayana changed the title LGTM.com - false positive LGTM.com - false positive : Once ipdb is initialized and if i do CTRL-C, the code is reachable. Jun 19, 2020
@RasmusWL
Copy link
Member

Thanks for adding this FP report 👍

I agree, if an exception is raised after ipdb is assigned on line 73, then the condition ipdb is not None will be true.

Can't make any promises on when we'll be able to look into solving this one, but we'll keep it in our backlog 😊

@padmanarayana
Copy link
Author

Thanks for the ACK! I understand this is not high priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants