~ubuntu-branches/ubuntu/natty/moin/natty-updates

« back to all changes in this revision

Viewing changes to MoinMoin/action/pollsistersites.py

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20080622211713-inlv5k4eifxckelr
ImportĀ upstreamĀ versionĀ 1.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
        except TypeError: # catch bug in python 2.5: "EnvironmentError expected at most 3 arguments, got 4"
55
55
            status.append(u"Site: %s Status: Not updated." % sistername)
56
56
 
57
 
    request.mimetype = 'text/plain'
 
57
    request.emit_http_headers(["Content-Type: text/plain; charset=UTF-8"])
58
58
    request.write("\r\n".join(status).encode("utf-8"))