git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH 0/1] Travis CI: Lint for Python syntax errors and undefined names
@ 2019-07-19 14:18 Christian Clauss via GitGitGadget
  2019-07-19 14:18 ` [PATCH 1/1] " cclauss via GitGitGadget
  0 siblings, 1 reply; 4+ messages in thread
From: Christian Clauss via GitGitGadget @ 2019-07-19 14:18 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano

Several things were changed between Python 2 and Python 3. Here we are
making changes to make the code run on both Py2 and Py3. We are doing this
because the end of life of Python 2 is in 167 days. We are using print() 
function because legacy print statements are syntax errors on Py3.reduce() 
was moved in Python 3 and raw_input() was removed so we make changes to
avoid NameErrors at runtime. Signed-off-by: Christian Clauss cclauss@me.com
[cclauss@me.com]

cclauss (1):
  Travis CI: Lint for Python syntax errors and undefined names

 .travis.yml                        |  4 +++
 contrib/fast-import/import-zips.py |  3 +-
 contrib/hg-to-git/hg-to-git.py     | 47 +++++++++++++++---------------
 git-p4.py                          |  3 ++
 4 files changed, 33 insertions(+), 24 deletions(-)


base-commit: 9d418600f4d10dcbbfb0b5fdbc71d509e03ba719
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-290%2Fcclauss%2Fpatch-1-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-290/cclauss/patch-1-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/290
-- 
gitgitgadget

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-07-20 12:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-19 14:18 [PATCH 0/1] Travis CI: Lint for Python syntax errors and undefined names Christian Clauss via GitGitGadget
2019-07-19 14:18 ` [PATCH 1/1] " cclauss via GitGitGadget
2019-07-19 19:44   ` Junio C Hamano
2019-07-20 12:51   ` SZEDER Gábor

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).