# HG changeset patch # User raph # Date 1279202879 -7200 # Node ID 757202d3ed110728ddebacb89f007989c3a1649b # Parent 285e67006eb01e61cfae7b6a03a8b6df8774777d add todo note diff -r 285e67006eb0 -r 757202d3ed11 src/cm/utils/comment_positioning.py --- a/src/cm/utils/comment_positioning.py Mon Jul 12 16:37:32 2010 +0200 +++ b/src/cm/utils/comment_positioning.py Thu Jul 15 16:07:59 2010 +0200 @@ -181,6 +181,8 @@ for (wrapper_id, wrapper_data) in datas.items() : start_color = wrapper_data['start_color'] offsets = sorted(wrapper_data['offsets'].items(), key=operator.itemgetter(0)) + + # TODO: html.find(id = "sv-%d"%wrapper_id) is None (?) when comment detached content = html.find(id = "sv-%d"%wrapper_id).contents[0]