[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: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2003-04-08 22:43:53 CEST

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.

Thanks,
-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 8 23:26:52 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.