[Svnmerge] Bug in svnmerge.py, rev 30107 (not fully compatible with Python 2.2.x)

Raman Gupta rocketraman at fastmail.fm
Wed Apr 2 06:49:06 PDT 2008


Dustin J. Mitchell wrote:
> On Wed, Apr 2, 2008 at 12:21 AM, Raman Gupta <rocketraman at fastmail.fm> wrote:
>>  AttributeError: 'file' object has no attribute 'has_attr'
>>
>>  An other ideas?
> 
> use
>   if .. hasattr(sys.stdout, "encoding") ..
> 
> Given this change, and assuming tests pass, I'm happy with this as a
> permanent solution, rather than a workaround.
> 
> Dustin

Thanks Dustin, applied in 30181.

Cheers,
Raman




More information about the Svnmerge mailing list