vdb/lib/utils.py
def fix_text(text):
    """
    Method to fix up bad text from feeds
    :param text: Text to cleanup
    :return: Fixed text
    """
    if text is None:
        text = ""
    text = re.sub(r"[]^\\-]", " ", text)
    return text

    Method to fix up bad text from feeds
    :param text: Text to cleanup
    :return: Fixed text
    
Method to fix up bad text from feeds
Method to fix up bad text from feeds
def fix_text(text):
    if text is None:
        text = ""
    text = re.sub(r"[]^\\-]", " ", text)
    return text
def fix_text ( text ) : if text is None : text = "" text = re . sub ( r"[]^\\-]" , " " , text ) return text
Method to fix up bad text from feeds
Method to fix up bad text from feeds
"""
    Method to fix up bad text from feeds
    :param text: Text to cleanup
    :return: Fixed text
    """
None
text
Text to cleanup
Text to cleanup