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

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'master' of haamster:src-deb
  • Loading branch information
inducer committed Jul 23, 2011
2 parents 8594cf2 + aba69eb commit 0edf5df
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions list-active-repos.py
Expand Up @@ -2,14 +2,15 @@ def read_repo_list(name):
try:
return [x.strip() for x in open(name).readlines() if not x.strip().startswith("#")]
except IOError:
return ""
return []

import sys
my_dir = sys.argv[1]

from os.path import join

all_repos = read_repo_list(join(my_dir, "subprojects"))
all_repos = (read_repo_list(join(my_dir, "subprojects"))
+ read_repo_list(join(my_dir, "extra-subprojects")))
excluded_repos = read_repo_list(join(my_dir, "excluded-subprojects"))

for x in excluded_repos:
Expand Down

0 comments on commit 0edf5df

Please sign in to comment.