From b8d6fb2898ba465bc1ade60066851134a656a76c Mon Sep 17 00:00:00 2001 From: Steven Colby Date: Wed, 18 May 2016 14:22:51 -0600 Subject: Need spaces in Emacs style encoding comment Although it's hard to see, PEP-0263 does have ws delimiting the 'coding' string. This commit will fix the root cause of (at least) one bug: https://lists.fedoraproject.org/archives/list/eclipse-sig@lists.fedoraproject.org/thread/5XQ5JRHG6DPPMGRDU7TA2AO4EYS2H7AG/ --- git/compat.py | 2 +- git/test/test_base.py | 2 +- git/test/test_docs.py | 2 +- git/test/test_git.py | 2 +- git/test/test_index.py | 2 +- git/test/test_repo.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/git/compat.py b/git/compat.py index 7bd8e494..76509ba6 100644 --- a/git/compat.py +++ b/git/compat.py @@ -1,4 +1,4 @@ -#-*-coding:utf-8-*- +# -*- coding: utf-8 -*- # config.py # Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors # diff --git a/git/test/test_base.py b/git/test/test_base.py index 94379ca3..7b71a77e 100644 --- a/git/test/test_base.py +++ b/git/test/test_base.py @@ -1,4 +1,4 @@ -#-*-coding:utf-8-*- +# -*- coding: utf-8 -*- # test_base.py # Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors # diff --git a/git/test/test_docs.py b/git/test/test_docs.py index 189cdc43..7b3b7474 100644 --- a/git/test/test_docs.py +++ b/git/test/test_docs.py @@ -1,4 +1,4 @@ -#-*-coding:utf-8-*- +# -*- coding: utf-8 -*- # test_git.py # Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors # diff --git a/git/test/test_git.py b/git/test/test_git.py index 00592b88..2d6ca8bc 100644 --- a/git/test/test_git.py +++ b/git/test/test_git.py @@ -1,4 +1,4 @@ -#-*-coding:utf-8-*- +# -*- coding: utf-8 -*- # test_git.py # Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors # diff --git a/git/test/test_index.py b/git/test/test_index.py index f5f9d707..ca877838 100644 --- a/git/test/test_index.py +++ b/git/test/test_index.py @@ -1,4 +1,4 @@ -#-*-coding:utf-8-*- +# -*- coding: utf-8 -*- # test_index.py # Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors # diff --git a/git/test/test_repo.py b/git/test/test_repo.py index d7437d35..fc8125fa 100644 --- a/git/test/test_repo.py +++ b/git/test/test_repo.py @@ -1,4 +1,4 @@ -#-*-coding:utf-8-*- +# -*- coding: utf-8 -*- # test_repo.py # Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors # -- cgit v1.2.1