Skip to content
  • knownexus's avatar
    utils.py: Reworked safe_remove · b78ae767
    knownexus authored and Jürg Billeter's avatar Jürg Billeter committed
    Non-Linux platforms don't return EISDIR when attempting to unlink a
    directory.
    
    Stopped safe_remove attempting to unlink dirs
    Previously safe_remove would attempt to unlink a path
    Before attempting to remove it if it was a dir
    
    Now it checks for a dir before that step
    b78ae767