From ea7421018090b7099c5e0a6bd88180f41ebb7bce Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Fri, 21 Dec 2012 16:33:18 -0500 Subject: [PATCH] Python 2.5 can't parse byte literals, so use bytes() instead. --- test/test_xattr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = '' -- 2.39.5