git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] git-p4: remove obsolete version check
@ 2017-06-03 13:31 Jakub Wilk
  2017-06-03 16:55 ` Ævar Arnfjörð Bjarmason
  0 siblings, 1 reply; 3+ messages in thread
From: Jakub Wilk @ 2017-06-03 13:31 UTC (permalink / raw)
  To: git; +Cc: Luke Diamand

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


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

end of thread, other threads:[~2017-06-04 18:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-03 13:31 [PATCH] git-p4: remove obsolete version check Jakub Wilk
2017-06-03 16:55 ` Ævar Arnfjörð Bjarmason
2017-06-04 18:45   ` brian m. carlson

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 NNTP newsgroup(s).