Stephen Wood
2004-07-22 03:36:52 UTC
In newentryfactory in bpcalendar.py, the start and end are initialized
with:
res['start']=(year, month, day, now.tm_hour, now.tm_min)
res['end']=[year, month, day, now.tm_hour, now.tm_min]
Is there a reason why start is a list and end is a tuple? Would it hurt
anything to make start a tuple?
If any change is made to the calendar entry, the start changes to a
tuple, but if one creates a new entry without changing anything and then
tries to save it to a Sanyo phone, com_sanyo will get an exception
trying to concatenate a list and tuple.
Stephen
with:
res['start']=(year, month, day, now.tm_hour, now.tm_min)
res['end']=[year, month, day, now.tm_hour, now.tm_min]
Is there a reason why start is a list and end is a tuple? Would it hurt
anything to make start a tuple?
If any change is made to the calendar entry, the start changes to a
tuple, but if one creates a new entry without changing anything and then
tries to save it to a Sanyo phone, com_sanyo will get an exception
trying to concatenate a list and tuple.
Stephen