Skip to content

Commit d34b370

Browse files
committed
utarfile: Update for uctype.struct() signature change.
1 parent 156da0b commit d34b370

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

utarfile/metadata.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
srctype = micropython-lib
22
type = module
3-
version = 0.1
3+
version = 0.1.1
44
author = Paul Sokolovsky
55
long_desc = Lightweight tarfile module subset

utarfile/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77

88
setup(name='micropython-utarfile',
9-
version='0.1',
9+
version='0.1.1',
1010
description='utarfile module for MicroPython',
1111
long_description='Lightweight tarfile module subset',
1212
url='https://github.com/micropython/micropython/issues/405',

utarfile/utarfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def next(self):
5656
if not buf:
5757
return None
5858

59-
h = uctypes.struct(TAR_HEADER, uctypes.addressof(buf), uctypes.LITTLE_ENDIAN)
59+
h = uctypes.struct(uctypes.addressof(buf), TAR_HEADER, uctypes.LITTLE_ENDIAN)
6060

6161
# Empty block means end of archive
6262
if h.name[0] == 0:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy