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]