Skip to content
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

windows line-endings with procmail #5

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 0 comments
Open

windows line-endings with procmail #5

GoogleCodeExporter opened this issue Mar 14, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant