• Arkadiusz Hiler's avatar
    parsemail: Fix cover letter handling · 67a63377
    Arkadiusz Hiler authored
    If cover letter looked like a patch (i.e. had the diff markers) it was
    parsed as such, resulting in the diff being extracted out from the
    contents and stored as oddly numbered patch 0.
    
    Let's store the raw payload and do not create patches out of cover
    letters.
    
    This is now tested by adding some diff excerpt to one of the test
    fixtures and adjusting the asserts on cover_letter and raw_cover_letter
    accordingly.
    Signed-off-by: Arkadiusz Hiler's avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
    67a63377
Name
Last commit
Last update
docs Loading commit data...
git-pw Loading commit data...
htdocs Loading commit data...
lib Loading commit data...
patchwork Loading commit data...
templates Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
COPYING Loading commit data...
Dockerfile.testing Loading commit data...
README.md Loading commit data...
manage.py Loading commit data...
tox.ini Loading commit data...