benjyw/commons — pull request #2 by tinystatemachine (2012-10-24 15:53:21+00:00)
Title: skip moving & deleting if already clean

Avoids throwing a stacktrace on trying to move non-existent path when already clean, eg:
$ ./pants clean-all-async
$ ./pants clean-all-async
Traceback (most recent call last):
...
File "twitter/pants/commands/goal.py", line 488, in
File "twitter/pants/commands/goal.py", line 482, in async_safe_rmtree
OSError: [Errno 2] No such file or directory