Re: [Zope3-Users] Fields are not inherited

2005-09-12 Thread Stephan Richter
On Monday 12 September 2005 13:30, Florian Lindner wrote:
 class IContentItem(Interface):
     The ContentItem object works as a base class for all other content
 objects.

     def __setitem__(name, object):
         Add a IContentItem object.
        
         title = TextLine(
                      title = uName,
                      description = uName that will be part of the URL,
                      required = True)                  
                    
         description = TextLine (
                       title = uDescription,
                       description = uDescription of the object.,
                       required = False)

You got the indentation wrong.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics  Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Fields are not inherited

2005-09-12 Thread Florian Lindner
Am Montag, 12. September 2005 19:47 schrieb Stephan Richter:
 On Monday 12 September 2005 13:30, Florian Lindner wrote:
  class IContentItem(Interface):
      The ContentItem object works as a base class for all other content
  objects.
 
      def __setitem__(name, object):
          Add a IContentItem object.
         
          title = TextLine(
                       title = uName,
                       description = uName that will be part of the URL,
                       required = True)                  
                     
          description = TextLine (
                        title = uDescription,
                        description = uDescription of the object.,
                        required = False)

 You got the indentation wrong.

Oh no... Sorry, for this stupid mistake and thanks for telling me...

:-/

Florian
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users