diff -r 9674d62a54f9 -r 3b6bbb3a3c3e common/mixins.py --- a/common/mixins.py Thu Nov 12 13:53:26 2009 +0100 +++ b/common/mixins.py Thu Nov 12 17:15:07 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