Skip to content
Permalink
Browse files

Avoid searching for old nightlies in missing dirs

These directories may be missing (e.g. a first time build),
so don't try to look inside them for old nightlies if so.
  • Loading branch information
aneeshusa committed Apr 27, 2017
1 parent 7ff803e commit ba874d67bb3007dc0d0560e6a0c4f8173e327552
Showing with 2 additions and 0 deletions.
  1. +2 −0 python/servo/bootstrap_commands.py
@@ -323,6 +323,8 @@ def clean_nightlies(self, force=False, keep=None):
removing_anything = False
for tool in ["rust", "cargo"]:
base = path.join(self.context.sharedir, tool)
if not path.isdir(base):
continue
for name in os.listdir(base):
# We append `-alt` if LLVM assertions aren't enabled,
# so use just the commit hash itself.

0 comments on commit ba874d6

Please sign in to comment.
You can’t perform that action at this time.