~dholbach/software-center/software-center-aptdaemon-plugins

Viewing all changes in revision 11.

  • Committer: Michael Vogt
  • Date: 2012-08-24 08:00:28 UTC
  • Revision ID: michael.vogt@ubuntu.com-20120824080028-xt88lyx3cjnvrd54
Open subprocesses with universal_newlines=True when expecting to read
text from them.  On Python 2, this only enables \r\n conversion and the
like, but on Python 3 this also causes subprocess-related file objects
to read str rather than bytes.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: