diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-03-25 20:43:58 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-03-25 20:43:58 -0700 |
commit | 56a456880fb49c7f3e0203e37de78a9600ef1490 (patch) | |
tree | 153a25427a00182cdaba032594c9fae271b3d54f /xattr | |
parent | 291b7535a626a8a965f697f07176f5e0a6abc570 (diff) | |
download | xattr-56a456880fb49c7f3e0203e37de78a9600ef1490.tar.gz |
Fixed a py2kism in xattr.tool
Diffstat (limited to 'xattr')
-rwxr-xr-x | xattr/tool.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xattr/tool.py b/xattr/tool.py index ce8b8e6..573261f 100755 --- a/xattr/tool.py +++ b/xattr/tool.py @@ -71,7 +71,7 @@ _FILTER = ''.join([(len(repr(chr(x))) == 3) and chr(x) or '.' for x in range(256 def _dump(src, length=16): result = [] - for i in xrange(0, len(src), length): + for i in range(0, len(src), length): s = src[i:i+length] hexa = ' '.join(["%02X" % ord(x) for x in s]) printable = s.translate(_FILTER) |