[Zope-CMF] SkinnedFolder Creator problem
Sidnei da Silva
sidnei@x3ng.com
Thu, 10 Oct 2002 10:13:14 -0300
On Thu, Oct 10, 2002 at 11:02:44AM +0100, Chris Withers wrote:
| Sidnei da Silva wrote:
| >| Can you detail this assumption, since I read the rest of your post and
| >| couldn't make out what you saw as a problem...
| >
| > return self.getOwner( info=1 )[1]
|
| OK, pretend I haven't been programming Zope for 3 years ;-)
|
| What is this doing that's bad?
Its bombing with an 'unsubscriptable error' that means that when
called on a unittest the result of getOwner(info=1) is not a list, so
we cannot access its [1] position.
[]'s
--
Sidnei da Silva (dreamcatcher) <sidnei@x3ng.com.br>
X3ng Web Technology <http://www.x3ng.com.br>
GNU/Linux user 257852
Debian GNU/Linux 3.0 (Sid) 2.4.18 ppc
REST:
P: Linus Torvalds
S: Buried alive in email
-- from /usr/src/linux/MAINTAINERS