[issue17830] keyword.py main does not preserve line endings when rewriting keyword file

2013-04-25 Thread R. David Murray
R. David Murray added the comment: I've committed this (in 58b0e301b78a), but it looks like the email to the tracker hasn't come through yet. I'm going to blithely assume this will fix the buildbot failures, and will reopen it if I'm wrong. -- resolution: -> fixed stage: -> committe

[issue17830] keyword.py main does not preserve line endings when rewriting keyword file

2013-04-25 Thread Zachary Ware
Zachary Ware added the comment: Your patch works for me. And for what it's worth, I agree about not backporting; keywords are frozen and never going to change in 2.7 or 3.3 anyway. I did find one other small bug in test_keyword; running the test via "-m test.test_keyword", test_real_grammar_a

[issue17830] keyword.py main does not preserve line endings when rewriting keyword file

2013-04-25 Thread R. David Murray
R. David Murray added the comment: Or both. Zach, can you try this patch on Windows? I tested it by setting my local keywords.py file to have DOS line endings, and it seems to work correctly. Although this turns out to be a bug, it has never bothered anyone, so I don't have any intent to bac