(history_list,tag)
remove tag form history
remove tag form history
remove tag form history
def remove_history_tag(history_list,tag):
        '''
            remove tag form history
        '''
        for history in history_list:
            try:
                history.Tags=history.Tags.replace(str(tag)+",","")
                history.save()
            except Exception as ex:
                SimpleLogger.exception(ex)
                continue
def remove_history_tag ( history_list , tag ) : for history in history_list : try : history . Tags = history . Tags . replace ( str ( tag ) + "," , "" ) history . save ( ) except Exception as ex : SimpleLogger . exception ( ex ) continue