From c5472b2e1cccc70b499a74977e72bc4dc1890757 Mon Sep 17 00:00:00 2001 From: Christoph Gysin Date: Mon, 30 Mar 2015 11:40:01 +0300 Subject: [PATCH] Fix repository checking Commit 77f980b70ec70a3ead2046a4688553110fd32df5 broke the repository checking code, and would throw an exception when trying to access an invalid member 'key'. Change-Id: Ic77d26c57647ad21fe78cdd3253290a42b231d7e --- gertty/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gertty/sync.py b/gertty/sync.py index b4673fb..919311e 100644 --- a/gertty/sync.py +++ b/gertty/sync.py @@ -609,7 +609,7 @@ class CheckReposTask(Task): try: repo = app.getRepo(project.name) if repo.newly_cloned or app.fetch_missing_refs: - sync.submitTask(CheckRevisionsTask(key, + sync.submitTask(CheckRevisionsTask(project.key, priority=LOW_PRIORITY)) except Exception: self.log.exception("Exception checking repo %s" %