From: Konrad Scherer <konrad.scherer@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [Patch 0/1 V3] Update relocate_sdk.py to work with Python 2.4
Date: Thu, 17 Oct 2013 10:17:19 -0400 [thread overview]
Message-ID: <1382019440-8505-1-git-send-email-konrad.scherer@windriver.com> (raw)
As a bootstrap script, relocate_sdk.py needs to support as many
versions of python as possible. Since python 2.4.3 is default python
on RedHat/CentOS 5.x, the recent updates to support python 3 broke
these platforms. This is the cleanest way I could find to support all
pythons 2.4 to 3. I have tested the patch on 2.4.3, 2.6.5, 2.7.3 and
3.2.3.
V2: Detect the system encoding before converting
V3: Remove unneeded import codecs
---
Konrad Scherer, MTS, Linux Products Group, Wind River
next reply other threads:[~2013-10-17 14:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-17 14:17 Konrad Scherer [this message]
2013-10-17 14:17 ` [PATCH] relocate_sdk.py: Allow script to work with Python 2.4 and 3 Konrad Scherer
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=1382019440-8505-1-git-send-email-konrad.scherer@windriver.com \
--to=konrad.scherer@windriver.com \
--cc=openembedded-core@lists.openembedded.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