[lxc-devel] [lxc/lxc] 59e8ed: mark the python examples as having utf-8 encoding

GitHub noreply at github.com
Sat Oct 8 17:18:19 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 59e8ed7637b5bd09c264c4325d7460f88ae4c34c
      https://github.com/lxc/lxc/commit/59e8ed7637b5bd09c264c4325d7460f88ae4c34c
  Author: Evgeni Golov <evgeni at debian.org>
  Date:   2016-10-08 (Sat, 08 Oct 2016)

  Changed paths:
    M src/python-lxc/examples/api_test.py
    M src/python-lxc/examples/pyconsole-vte.py
    M src/python-lxc/examples/pyconsole.py

  Log Message:
  -----------
  mark the python examples as having utf-8 encoding

this allows running them also under Python2, which otherwise
would choke on Stéphane's name and error out with
 SyntaxError: Non-ASCII character '\xc3' in file …

Signed-off-by: Evgeni Golov <evgeni at debian.org>


  Commit: b8fc6b3671fb6bd3bce911b7e447d282ed2189b1
      https://github.com/lxc/lxc/commit/b8fc6b3671fb6bd3bce911b7e447d282ed2189b1
  Author: Christian Brauner <christian.brauner at canonical.com>
  Date:   2016-10-08 (Sat, 08 Oct 2016)

  Changed paths:
    M src/python-lxc/examples/api_test.py
    M src/python-lxc/examples/pyconsole-vte.py
    M src/python-lxc/examples/pyconsole.py

  Log Message:
  -----------
  Merge pull request #1224 from evgeni/python-utf8

mark the python examples as having utf-8 encoding


Compare: https://github.com/lxc/lxc/compare/fd5cf6816791...b8fc6b3671fb


More information about the lxc-devel mailing list