From: "Mike Gilbert (floppym)" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pyxattr/files: pyxattr-0.5.1-test-bytes.patch
Date: Sat, 22 Dec 2012 01:47:45 +0000 (UTC) [thread overview]
Message-ID: <20121222014745.E5A7F2171D@flycatcher.gentoo.org> (raw)
floppym 12/12/22 01:47:45
Added: pyxattr-0.5.1-test-bytes.patch
Log:
Add patch to fix tests with pyyhon2.5.
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Revision Changes Path
1.1 dev-python/pyxattr/files/pyxattr-0.5.1-test-bytes.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyxattr/files/pyxattr-0.5.1-test-bytes.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyxattr/files/pyxattr-0.5.1-test-bytes.patch?rev=1.1&content-type=text/plain
Index: pyxattr-0.5.1-test-bytes.patch
===================================================================
commit ea7421018090b7099c5e0a6bd88180f41ebb7bce
Author: Mike Gilbert <floppym@gentoo.org>
Date: Fri Dec 21 16:33:18 2012 -0500
Python 2.5 can't parse byte literals, so use bytes() instead.
diff --git a/test/test_xattr.py b/test/test_xattr.py
index 8df00b9..0bca576 100644
--- a/test/test_xattr.py
+++ b/test/test_xattr.py
@@ -12,7 +12,7 @@ from xattr import NS_USER, XATTR_CREATE, XATTR_REPLACE
if sys.hexversion >= 0x03000000:
PY3K = True
- EMPTY_NS = b''
+ EMPTY_NS = bytes()
else:
PY3K = False
EMPTY_NS = ''
reply other threads:[~2012-12-22 1:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20121222014745.E5A7F2171D@flycatcher.gentoo.org \
--to=floppym@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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