Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Commit

Permalink
Fix two OSX fails.
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Aug 19, 2011
1 parent 08b1556 commit 2478514
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion list-active-repos.py
Expand Up @@ -14,7 +14,12 @@ def read_repo_list(name):
excluded_repos = read_repo_list(join(my_dir, "excluded-subprojects"))

for x in excluded_repos:
all_repos.remove(x)
try:
all_repos.remove(x)
except ValueError:
print>>sys.stderr, "----------------------------------------------------------------------------------"
print>>sys.stderr, "*** ERROR: %s in excluded-subprojects isn't a valid subproject to start with" % x
print>>sys.stderr, "----------------------------------------------------------------------------------"

for x in all_repos:
print join(my_dir, x)
2 changes: 1 addition & 1 deletion repotool
Expand Up @@ -202,7 +202,7 @@ case "$CMD" in

start-over )
export PATH=$MYDIR/env/bin:$PATH
rm "$MYDIR/env" -Rf
rm -Rf "$MYDIR/env"
$0 clean
$0 setup-env
if test "$1" = "install"; then
Expand Down

0 comments on commit 2478514

Please sign in to comment.