seedifferently/boto_rsync — pull request #29 by mdelah (2014-09-16 06:05:39+00:00)
Title: Fix bug preventing --delete from remove directories with subdirectories

Adds the topdown=False argument to os.walk() to traverse directories marked for deletion bottom-up. Previously, given a directory "a" containing subdirectory "a/b", boto-rsync would attempt to delete "a" first, which would fail due to being non-empty.