From c6fba304f50938079d248df543fd4d63490ba1d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Dunand?= Date: Thu, 24 May 2012 09:55:58 +0200 Subject: [PATCH] Fix SyntaxError due to encoding MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit According to PEP263 (http://www.python.org/peps/pep-0263.html) the source code encoding, like the magic comment '-*- coding: utf-8 -*-', must be on the two first lines. If not, default encoding is ascii and SyntaxError will be raised if there is a non-ASCII character. Signed-off-by: Sébastien Luttringer --- bin/is | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/is b/bin/is index 6c94cf8..474a177 100755 --- a/bin/is +++ b/bin/is @@ -1,5 +1,4 @@ #!/usr/bin/python -# -*- python -*- # -*- coding: utf-8 -*- # Installsystems - Python installation framework -- GitLab