-
-
Notifications
You must be signed in to change notification settings - Fork 34
fix: handle None branch in build_canceller #524
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
Conversation
Fixes #522 where buildbot-master fails to start with AttributeError when sourcestamp has an explicit None branch value. dict.get() only uses the default when the key is missing, not when the value is None.
WalkthroughModified Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5–10 minutes
Possibly related PRs
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes #522 where buildbot-master fails to start with AttributeError when sourcestamp has an explicit None branch value. dict.get() only uses the default when the key is missing, not when the value is None.
Summary by CodeRabbit