Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
parsemail: Ensure that the patch order cannot be None
find_patch_order() was starting with order = None and trying to retrieve the order from the previous revision. That doesn't work when there's no previous revision, because patchwork didn't know about series when the previous patch was sent. The test case triggering the failure is actually a bit involved. It needs series as reply to a couple of revision of a single patch, with the part of thread before series support. The test case has the full story. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
- Loading branch information
Damien Lespiau
committed
Nov 10, 2015
1 parent
1eaca20
commit 4da2a45
Showing
2 changed files
with
65 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters