def __setAttributeDefaults(self):
for k,v in list(self.__class__.attributes.items()):<EOL><INDENT>if v is not None and (k in self.attributes) is False:<EOL><INDENT>if isinstance(v, types.FunctionType):<EOL><INDENT>self.attributes[k] = v(self)<EOL><DEDENT>else:<EOL><INDENT>self.attributes[k] = v<EOL><DEDENT><DEDENT><DEDENT>
Looks for default values for unset attributes.  If
           class variable representing attribute is None, then
           it must be defined as an instance variable.