# HG changeset patch # User cmlenz # Date 1186143804 0 # Node ID 37e30696c0a887d1f3fb1a6e8a61a0d84e0fe57b # Parent 932d4d3ac790b4a4a029f638525f0794944e9f1b Don't raise an exception when the repository node associated with a build config has been since removed. diff --git a/bitten/queue.py b/bitten/queue.py --- a/bitten/queue.py +++ b/bitten/queue.py @@ -43,7 +43,12 @@ env = config.env if not db: db = env.get_db_cnx() - node = repos.get_node(config.path) + try: + node = repos.get_node(config.path) + except NoSuchNode, e: + env.log.warn('Node for configuration %r not found', config.name, + exc_info=True) + return for path, rev, chg in node.get_history():