From: Thomas Pedersen <thomas@cozybit.com>
To: backports@vger.kernel.org
Cc: Thomas Pedersen <thomas@cozybit.com>
Subject: [PATCH] backports: specify python2.7 for gentree.py
Date: Sun, 2 Jun 2013 16:12:13 -0700 [thread overview]
Message-ID: <1370214733-29993-1-git-send-email-thomas@cozybit.com> (raw)
Apparently gentree.py uses some python2.7 specific syntax. Fixes:
./gentree.py -h
File "./gentree.py", line 72
except OSError, e:
^
SyntaxError: invalid syntax
On distros where /usr/bin/python points to python3.
Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
---
gentree.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gentree.py b/gentree.py
index fef2faf..e43f508 100755
--- a/gentree.py
+++ b/gentree.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2.7
#
# Generate the output tree into a specified directory.
#
--
1.8.3
next reply other threads:[~2013-06-02 23:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-02 23:12 Thomas Pedersen [this message]
2013-06-03 0:00 ` [PATCH] backports: specify python2.7 for gentree.py Anh K. Huynh
2013-06-03 3:16 ` Thomas Pedersen
2013-06-03 3:36 ` Anh K. Huynh
2013-06-03 7:52 ` Johannes Berg
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=1370214733-29993-1-git-send-email-thomas@cozybit.com \
--to=thomas@cozybit.com \
--cc=backports@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.