---
hooks/post-tree-compose/watch-composes.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/hooks/post-tree-compose/watch-composes.py
b/hooks/post-tree-compose/watch-composes.py
index 265e5fd..83283e1 100755
--- a/hooks/post-tree-compose/watch-composes.py
+++ b/hooks/post-tree-compose/watch-composes.py
@@ -39,6 +39,10 @@ repodict = {} # a place to save repo info as read
# Cycle through our list of repo watches and determine which should be tested.
for reponame in watchcomposes:
+ # Skip undefined repos - this is an expected condition, since sometimes
+ # we just won't be producing composes for e.g. branched.
+ if reponame not in repoinfo.repos():
+ continue
repo = repoinfo.getrepo(reponame)
repodict[reponame] = repo
if not reponame in testable:
--
1.7.0.1