Skip to content

windows line-endings with procmail #5

@GoogleCodeExporter

Description

@GoogleCodeExporter
This is regarding my previous patch for procmail support.

I noticed that I was getting windows style line-endings in my e-mail when using 
owafetch with procmail but not with fetchExc and procmail.  I checked the 
fetchExc source and it is explicity excluding the line-endings, so, to make 
owafetch function the same as fetchExc, I've made another change.

The line in owafetch.py that reads:
           pmp.communicate(_message)
should read:
           pmp.communicate(_message.replace('\r', ''))

I can submit another patch if you'd like but I'm not sure if I should submit a 
new patch against 0.2 or a patch against my previous patch.

Thanks again for your very useful owalib and owafetch.

Original issue reported on code.google.com by jfharri...@fedex.com on 29 Jul 2011 at 5:55

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions