Menu

#18 Using syncmail with %s fails

open
nobody
None
5
2003-11-28
2003-11-28
No

In my loginfo script the following line has been added:

DEFAULT /cvsroot/sitedocs/CVSROOT/cvstools/syncmail
%s gpaulissen@users.sourceforge.net

The default %{sVv} has not been used because it
generated too much lines for binary files. But this works
neither:

Traceback (innermost last):
File "/cvsroot/sitedocs/CVSROOT/cvstools/syncmail",
line 322, in ?
main()
File "/cvsroot/sitedocs/CVSROOT/cvstools/syncmail",
line 315, in main
blast_mail(subject, people, specs[1:], contextlines,
fromhost)
File "/cvsroot/sitedocs/CVSROOT/cvstools/syncmail",
line 240, in blast_mail
print calculate_diff(file, contextlines)
File "/cvsroot/sitedocs/CVSROOT/cvstools/syncmail",
line 139, in calculate_diff
file, oldrev, newrev = string.split(filespec, ',')
ValueError: unpack list of wrong size

Apparently the code assumes several options should be
specified.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.