Am 01.10.2009, 15:51 Uhr, schrieb Martin Aspeli <>:

> 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 Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtztstr. 20
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
Zope-Dev maillist  -
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to