Re: return str(obj)

Stefan Palme <[email protected]>
Newsgroups gmane.comp.web.zope.german
Organization Invisible Brain
Message-ID <[email protected]>
> > 
> > Script(Python):
> > obj = context.plone_site.folderA
> > return str(obj)
> > 
> Was soll der Code genau machen? Usecase?

Nichts "produktives" - es geht nur um eine kleine Debug-Ausgabe,
um zu sehen, ob in "obj" das richtige Objekt drinsteht. Für den
eigentlichen Use-Case kann ich den Code auch anders schreiben,
trotzdem würde mich interessieren, was genau an dieser Stelle
schief geht.

-stefan-



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.