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

Dustin J. Mitchell dustin at zmanda.com
Wed Apr 2 05:49:07 PDT 2008


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

-- 
Storage Software Engineer
http://www.zmanda.com



More information about the Svnmerge mailing list