mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 05:03:17 +00:00
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@debian.org>
This commit is contained in:
parent
fd5cf68167
commit
59e8ed7637
@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# api_test.py: Test/demo of the python3-lxc API
|
# api_test.py: Test/demo of the python3-lxc API
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# pyconsole-vte: Example program showing use of console functions
|
# pyconsole-vte: Example program showing use of console functions
|
||||||
# in the lxc python binding
|
# in the lxc python binding
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# pyconsole: Example program showing use of console functions
|
# pyconsole: Example program showing use of console functions
|
||||||
# in the lxc python binding
|
# in the lxc python binding
|
||||||
|
Loading…
Reference in New Issue
Block a user