~pitti/autopilot/py3

Viewing all changes in revision 352.

  • Committer: Martin Pitt
  • Date: 2013-09-05 12:36:22 UTC
  • Revision ID: martin.pitt@ubuntu.com-20130905123622-kkz5nopd1w1q08cc
Replace "string_escape" encoding for Python 3

The "string_escape" encoding does not exist any more in Python 3, as str always
holds unicode strings. Use unicode_escape instead, with the necessary
adjustments for its slightly different behaviour.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: