~mterry/duplicity/py2.6.0

Viewing all changes in revision 977.

  • Committer: Kenneth Loafman
  • Date: 2014-04-19 19:54:54 UTC
  • mfrom: (967.4.1 encode)
  • Revision ID: kenneth@loafman.com-20140419195454-2r35nyqto7bvju09
* Merged in lp:~mterry/duplicity/encode-for-print
  - Encode translated strings before passing them to 'print'.
  - The print command can only apparently handle bytes. So when we pass it
    unicode, it freaks out. There were only four instances I saw where we used
    print, so I figured it was easiest to just convert them to use the log
    framework too.
  - That way all user-visible strings go through that framework and are subject
    to the same encoding rules.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: