def parseLogPrefix(tb):
    """
    Takes a traceback returned by 'extract_tb' and returns the package, module,
    and line number
    """
    path = tb.split('/')
    module = path[-1].replace('.py', '')
    package = path[-2]
    return module, package
