RE: [Zope-dev] bizarre slicing behaviour in Zope
18 Dec
2003
18 Dec
'03
1:29 p.m.
Well, at least I know it's only a Zpublisher thing, and not an issue with the underlying data. That's all that matters to me. Gerry Gerry Kirk Project Manager www.faithonline.com www.dioceseonline.com
-----Original Message----- From: Terry Hancock [mailto:hancock@anansispaceworks.com] Sent: December 17, 2003 7:05 PM To: Casey Duncan; Gerry Kirk Cc: zope-dev@zope.org Subject: Re: [Zope-dev] bizarre slicing behaviour in Zope
Perhaps more constructively, I think you can solve this by either adding a dummy element to the tuple:
return dd[4:] + (None,)
or making it a list instead of a tuple:
return list(dd[4:])
Cheers, Terry
-- Terry Hancock ( hancock at anansispaceworks.com ) Anansi Spaceworks http://www.anansispaceworks.com
8168
Age (days ago)
8168
Last active (days ago)
0 comments
1 participants
participants (1)
-
Gerry Kirk