def prepend_home_dir(filename):
    return os.path.join(os.environ['HOME'], '.ssh', filename) if '/' not in filename else filename
Let user select a directory.
dataset/ETHPy150Open praekelt/python-sshtail/sshtail/utils.py/prepend_home_dir--crossover with--dataset/ETHPy150Open ejeschke/ginga/ginga/gtkw/GtkHelp.py/DirectorySelection.popup