[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: mailer.py: TypeError in apply_textdelta

From: Blair Zajac <blair_at_orcaware.com>
Date: 2003-04-09 00:30:52 CEST

Karl Fogel wrote:
>
> Blair Zajac <blair@orcaware.com> writes:
> > That one worked, but now I get this:
> >
> > Traceback (most recent call last):
> > File "./mailer.py", line 799, in ?
> > svn.util.run_app(main, config_fname, repos_dir, revision)
> > File "/opt/i386-linux/installed/subversion-r5583/lib/svn-python/svn/util.py", line 38, in run_app
> > File "./mailer.py", line 48, in main
> > pool)
> > TypeError: close_file() takes exactly 2 arguments (3 given)
>
> Hmmm, that's a bit different. close_file() isn't defined in
> mailer.py's ChangeCollector class, so it must be inheriting
> close_file() from svn.delta.Editor...
>
> Aha! I think I see it. The problem was in
>
> subversion/bindings/swig/python/svn/delta.py
>
> Fix committed in revision 5587, awaiting your feedback.

Worked like a charm!

Thanks,
Blair

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 9 00:31:39 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.