~jelmer/loggerhead/trunk

« back to all changes in this revision

Viewing changes to loggerhead/controllers/download_ui.py

  • Committer: Matt Nordhoff
  • Date: 2009-05-13 14:03:48 UTC
  • mto: (389.2.2 pep8-2009-10)
  • mto: This revision was merged to the branch mainline in revision 392.
  • Revision ID: mnordhoff@mattnordhoff.com-20090513140348-yn43gztulksm62e9
Always use a tuple in string formatting

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
            ('Content-Type', mime_type),
66
66
            ('Content-Length', len(content)),
67
67
            ('Content-Disposition',
68
 
             'attachment; filename*=utf-8\'\'%s' % encoded_filename),
 
68
             'attachment; filename*=utf-8\'\'%s' % (encoded_filename,)),
69
69
            ]
70
70
        start_response('200 OK', headers)
71
71
        return [content]