From: Jakub Wilk <jwilk@jwilk.net>
To: git@vger.kernel.org
Cc: Luke Diamand <luke@diamand.org>
Subject: [PATCH] git-p4: remove obsolete version check
Date: Sat, 3 Jun 2017 15:31:20 +0200 [thread overview]
Message-ID: <20170603133120.715-1-jwilk@jwilk.net> (raw)
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 reply other threads:[~2017-06-03 15:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-03 13:31 Jakub Wilk [this message]
2017-06-03 16:55 ` [PATCH] git-p4: remove obsolete version check Ævar Arnfjörð Bjarmason
2017-06-04 18:45 ` brian m. carlson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170603133120.715-1-jwilk@jwilk.net \
--to=jwilk@jwilk.net \
--cc=git@vger.kernel.org \
--cc=luke@diamand.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).