def _clean_dirty_objects(self):
if self._dirty_object is None:<EOL><INDENT>return<EOL><DEDENT>if not is_iterable_but_not_string(self._dirty_object):<EOL><INDENT>self._dirty_object = [self._dirty_object]<EOL><DEDENT>log.debug("<STR_LIT>".format(self._dirty_object))<EOL>for o in self._dirty_object:<EOL><INDENT>if isinstance(o, BaseObject):<EOL><INDENT>o._clean_dirty()<EOL><DEDENT><DEDENT>self._dirty_object = None<EOL>
Clear all dirty attributes for the last object or list of objects successfully submitted to Zendesk.