Am 01.10.2009, 15:51 Uhr, schrieb Martin Aspeli <optilude+li...@gmail.com>:

> Haha. Maybe I'll have a property mimeType instead? That looks better, I
> guess.

+1 to use a property rather than a getter. Not sure about content-type vs.  
mime-type. If this is used only in an HTTP environment then I'd prefer to  
stick with content-type otherwise I'd suggest the email module's  
content-type handling.

> But we *are* in a Zope package, so Zope naming conventions probably  
> apply.

I go with Pythonic conventions wherever possible.

Charlie
-- 
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtztstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to