On 03/22/2012 12:45 PM, gst...@apache.org wrote:
> Author: gstein
> Date: Thu Mar 22 16:45:30 2012
> New Revision: 1303883
> 
> URL: http://svn.apache.org/viewvc?rev=1303883&view=rev
> Log:
> Followup to 1303727: use .rstrip() rather than whacking a single '\n'
> character off the end. This approach can also handle '\r\n'. Trailing
> whitespace happens to get killed, but no bigg.

You beat me to this change.  But for the sake of precision, why not go ahead
and use ".rstrip('\r\n')" ?  Is the extra precision just disinteresting in
this context?

-- 
C. Michael Pilato <cmpil...@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to