9 Jan
2002
9 Jan
'02
6:07 a.m.
"B" == Bob <bob@nleaudio.com> writes:
>> cron/bumpdigests
B> Thanks Barry.. how simple can it get? I already did this:
| file: upddig.py:
| def upddig(mlist):
| print mlist.volume
| print mlist.next_digest_number
| mlist.volume = 2
| mlist.next_digest_number = 9
| mlist.Save()
| Then I did:
| bin/withlist -l -r upddig [listname]
B> Seems to have taken. Look ok?
Yep. That's a one-off though and geared specifically to your one situation. bumpdigest isn't much more than that + the usual boilerplate + incrementing the values instead of hard coding them.
-Barry