~ubuntu-branches/ubuntu/saucy/click/saucy-proposed

« back to all changes in this revision

Viewing changes to click/install.py

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2013-07-30 15:14:16 UTC
  • Revision ID: package-import@ubuntu.com-20130730151416-ajoe6kqrb59kkamo
Tags: 0.2.10
* Force click's stdout encoding to UTF-8 regardless of the locale.
* Don't encode non-ASCII characters in JSON dumps.
* Treat manifests as UTF-8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
246
246
            "--no-triggers",
247
247
            "--install", path,
248
248
        ]
249
 
        with open(path) as fd:
 
249
        with open(path, "rb") as fd:
250
250
            env = dict(os.environ)
251
251
            preloads = [self._preload_path()]
252
252
            if "LD_PRELOAD" in env: