Re: Hacked Member support

Brent M Hendricks <[email protected]> Tue, 11 Dec 2001 14:35:40 -0600
Newsgroups gmane.comp.web.zope.zmailman
Message-ID <[email protected]>
Stephan Richter wrote:

> Hello everyone,
> 
> I just had to take from studying and hacked the add/delete Member for 
> the regular Zope API. Oh well, I am so bad... So go and get the latest 
> version from the CVS.


Cool!

I noticed that when you clicked on a member it was giving you an 
AttributeError so I modified __bobo_traverse__ in ZMailList to return a 
Member object if the name exists in the membership list.

Note: I don't claim that it's correct because I don't honestly know what 
the __of__(self) part is doing.  I just copied it out of 
MailmanFolder.py and it seemed to work :)


-- Brent

-------------------------------------------------------------------------

"The programmer, like the poet, works only slightly removed from pure
  thought-stuff.  He builds his castles in the air, from air, creating
  by exertion of the imagination.  Few media of creation are so
  flexible, so easy to polish and rework, so readily capable of
  realizing grand conceptual structures."
                         -- Frederick Brooks, Jr., The Mythical Man Month