diff -r 5b75fd66c80e -r d7a270f50f54 common/mixins.py --- a/common/mixins.py Sun Nov 08 21:53:18 2009 +0100 +++ b/common/mixins.py Fri Nov 20 19:35:54 2009 +0100 @@ -180,7 +180,9 @@ For instance, the Person class might want to return a `companyname` key. """ - return set(rs.type for rs, _ in cls.e_schema.attribute_definitions()) + return set(rschema.type + for rschema, attrtype in cls.e_schema.attribute_definitions() + if attrtype.type not in ('Password', 'Bytes')) def as_email_context(self): """returns the dictionary as used by the sendmail controller to