Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Steve Conklin
    @sconklin
    testing
    Brad Figg
    @bjf
    hello
    Steve Conklin
    @sconklin
    whassup?
    Brad Figg
    @bjf
    finished up with joe
    walked him through the entire lts-backport-saucy fixup
    Steve Conklin
    @sconklin

    file_load

    def file_load(file_name):
    """
    Load the indicated file into a string and return the string.
    """
    retval = None
    if os.path.exists(file_name):
        with open(file_name, 'r') as f:
            retval = f.read()
    else:
        stderr.write("  ** Warning: The requested file (%s) does not exist.\n" % file_name)
    
    return retval
    Brad Figg
    @bjf
    that's pretty
    Steve Conklin
    @sconklin
    shiny
    pasted that from a file in the repo in another tab
    now if I could paste it from a right click in the source file and have it link back to that, it would be great
    Brad Figg
    @bjf
    indeed
    Steve Conklin
    @sconklin
    so far I'm not overwhelmed
    Brad Figg
    @bjf
    nope
    Steve Conklin
    @sconklin
    bailing out
    Brad Figg
    @bjf
    ack
    Om Prakash Singh
    @omps
    Nice to see a autotest room around.