git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] git-p4: remove obsolete version check

From
Jakub Wilk <jwilk@jwilk.net>
Date
Jun 3, 2017, 13:31 UTC
Message-ID
<20170603133120.715-1-jwilk@jwilk.net>

The file is syntactically correct only in Python >= 2.6, so the version check never does anything.

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
---
 git-p4.py | 4 ----
 1 file changed, 4 deletions(-)
diff --git a/git-p4.py b/git-p4.py
index 8d151da91..4278cd9d4 100755
--- a/git-p4.py
+++ b/git-p4.py
@@ -8,10 +8,6 @@
 # License: MIT <http://www.opensource.org/licenses/mit-license.php>
 #
 import sys
-if sys.hexversion < 0x02040000:
-    # The limiter is the subprocess module
-    sys.stderr.write("git-p4: requires Python 2.4 or later.\n")
-    sys.exit(1)
 import os
 import optparse
 import marshal
-- 
2.13.0.506.g27d5fe0cd
Next: Ævar Arnfjörð Bjarmason
Message 1 of 3 in “git-p4: remove obsolete version check”
  1. git-p4: remove obsolete version checkJakub Wilk, Jun 3, 2017
  2. Ævar Arnfjörð BjarmasonJun 3, 2017
  3. brian m. carlsonJun 4, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.