Fix issue where PR without any description has its title edited#79
Fix issue where PR without any description has its title edited#79
Conversation
|
Thanks @brettcannon for the quick review! |
|
Looks like the version of @Mariatta Can you update the |
|
I also just turned on pyup.io on this repo to help prevent this issue going forward. |
|
Looks like pyup.io pushed #81 which should hopefully fix this. |
|
Thanks! I'll rebase to get the latest changes. |
|
#81 seems to do the trick, so probably just a merge off of |
This came up in python/cpython#5291 The PR did not have any description, and the title was edited to include the bpo number. It caused a 500 error, because bedevere did not anticipate this situation. Updated the code so that it takes into consideration when the body is empty.
ec9fd14 to
10e5cd5
Compare
Codecov Report
@@ Coverage Diff @@
## master #79 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 14 14
Lines 974 980 +6
Branches 56 56
=====================================
+ Hits 974 980 +6
Continue to review full report at Codecov.
|
This came up in python/cpython#5291
The PR did not have any description, and the title was
edited to include the bpo number.
It caused a 500 error, because bedevere did not anticipate
this situation.
Updated the code so that it takes into consideration when the
body is empty.