def _get_extra(self, attrs, exclude):
result = {}<EOL>for key in attrs.getNames():<EOL><INDENT>if key not in exclude:<EOL><INDENT>result[str(key)] = str(attrs[key])<EOL><DEDENT><DEDENT>return result<EOL>
Read the extra properties, taking into account an exclude list