def fix_all_html(container):
 for (name, mt) in container.mime_map.iteritems():
  if (mt in OEB_DOCS):
   container.parsed(name)
   container.dirty(name)

def fix_all_html ( container ) : for ( name , mt ) in container . mime_map . iteritems ( ) : if ( mt in OEB_DOCS ) : container . parsed ( name ) container . dirty ( name )
fix any parsing errors in all html files in the container .