提交 3aa655a3 编写于 作者: T Tollef Fog Heen 提交者: Tollef Fog Heen

daklib/dbconn.py: Add relation from a component to the suites that include it

Signed-off-by: NTollef Fog Heen <tfheen@varnish-software.com>
上级 d58e94b5
......@@ -2669,7 +2669,8 @@ class DBConn(object):
mapper(Component, self.tbl_component,
properties = dict(component_id = self.tbl_component.c.id,
component_name = self.tbl_component.c.name),
component_name = self.tbl_component.c.name,
suites = relation(Suite, secondary=self.tbl_component_suite)),
extension = validator)
mapper(DBConfig, self.tbl_config,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册