trepan/options.py
def add_startup_file(dbg_initfiles):
    """ Read debugger startup file(s): both python code and
    debugger profile to dbg_initfiles."""

    startup_python_file = default_configfile('profile.py')

    if Mfile.readable(startup_python_file):
        with codecs.open(startup_python_file, 'r', encoding='utf8') as fp:
                exec(fp.read())

    startup_trepan_file = default_configfile('profile')
    if Mfile.readable(startup_trepan_file):
        if startup_trepan_file not in dbg_initfiles:
            dbg_initfiles.append(startup_trepan_file)
        pass
    return
def add_startup_file(dbg_initfiles):
    """ Read debugger startup file(s): both python code and
    debugger profile to dbg_initfiles."""

    startup_python_file = default_configfile('profile.py')

    if Mfile.readable(startup_python_file):
        with codecs.open(startup_python_file, 'r', encoding='utf8') as fp:
                exec(fp.read())

    startup_trepan_file = default_configfile('profile')
    if Mfile.readable(startup_trepan_file):
        if startup_trepan_file not in dbg_initfiles:
            dbg_initfiles.append(startup_trepan_file)
        pass
    return
Read debugger startup file(s): both python code and
    debugger profile to dbg_initfiles.