

def get_description(desc_prompt):
    desc_raw = input(desc_prompt).strip()
    if (desc_raw == ''):
        show_error_and_exit('Please supply a proper description or the path to a file:\n')
    if os.path.isfile(desc_raw):
        with open(desc_raw) as f:
            desc = f.read()
        assert (len(desc.strip()) > 0), 'The file you submitted is empty. Please supply a description of your package:\n'
    else:
        desc = desc_raw
    return f

dataset/ETHPy150Open databricks/spark-package-cmd-tool/python/spark_package/spark_package.py get_description/VarMisuse@94/170 `desc`->`f`