• Iustin Pop's avatar
    Do not walk the whole DATA_DIR on node leave · 71eca7c3
    Iustin Pop authored
    Since we remove only files from DATA_DIR and not from subdirectories,
    let's not walk the entire tree, a simple listdir suffices. Also switch
    to utils.RemoveFile from simple os.unlink.
    Reviewed-by: imsnah
backend.py 39.1 KB