~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/controllers/annotate_ui.py

  • Committer: Matt Nordhoff
  • Date: 2009-05-16 06:05:56 UTC
  • mto: This revision was merged to the branch mainline in revision 346.
  • Revision ID: mnordhoff@mattnordhoff.com-20090516060556-eu44onv5o5ahukbk
Remove an unnecessary ''.join()

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
                                     change=util.Container())
69
69
        else:
70
70
            if highlight is not None:
71
 
                hl_lines = highlight(file_name, ''.join(file_lines), encoding)
 
71
                hl_lines = highlight(file_name, file_text, encoding)
72
72
                hl_lines.extend([u''] * (len(file_lines) - len(hl_lines)))
73
73
            else:
74
74
                hl_lines = map(cgi.escape, file_lines)