~mnordhoff/loggerhead/cheezum

« back to all changes in this revision

Viewing changes to loggerhead/controllers/diff_ui.py

  • Committer: Tres Seaver
  • Date: 2010-03-25 10:25:13 UTC
  • mto: (164.107.60 trunk-rich)
  • mto: This revision was merged to the branch mainline in revision 456.
  • Revision ID: tseaver@agendaless.com-20100325102513-imvok1jbu36cxg0t
Use 'Loggerhead' as the display name;  fix typos.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
        filename = '%s_%s.diff' % (revno1, revno2)
73
73
        headers = [
74
74
            ('Content-Type', 'application/octet-stream'),
75
 
            ('Content-Length', str(len(content))),
 
75
            ('Content-Length', len(content)),
76
76
            ('Content-Disposition', 'attachment; filename=%s' % (filename,)),
77
77
            ]
78
78
        start_response('200 OK', headers)