Skip to content

Commit 38a81f9

Browse files
author
Kazuki Suzuki Przyborowski
committed
Small update
1 parent dbd7134 commit 38a81f9

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

pyarchivefile.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
Copyright 2018-2024 Game Maker 2k - http://intdb.sourceforge.net/
1515
Copyright 2018-2024 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski
1616
17-
$FileInfo: pyarchivefile.py - Last Update: 9/12/2025 Ver. 0.20.4 RC 1 - Author: cooldude2k $
17+
$FileInfo: pyarchivefile.py - Last Update: 9/15/2025 Ver. 0.20.6 RC 1 - Author: cooldude2k $
1818
'''
1919

2020
from __future__ import absolute_import, division, print_function, unicode_literals, generators, with_statement, nested_scopes
@@ -379,8 +379,8 @@ def decode_unicode_escape(value):
379379
__file_format_dict__ = __file_format_multi_dict__[__file_format_default__]
380380
__project__ = __program_name__
381381
__project_url__ = "https://github.com/GameMaker2k/PyArchiveFile"
382-
__version_info__ = (0, 20, 4, "RC 1", 1)
383-
__version_date_info__ = (2025, 9, 12, "RC 1", 1)
382+
__version_info__ = (0, 20, 6, "RC 1", 1)
383+
__version_date_info__ = (2025, 9, 15, "RC 1", 1)
384384
__version_date__ = str(__version_date_info__[0]) + "." + str(
385385
__version_date_info__[1]).zfill(2) + "." + str(__version_date_info__[2]).zfill(2)
386386
__revision__ = __version_info__[3]
@@ -8598,15 +8598,15 @@ def UnPackArchiveFileString(instr, outdir=None, followlink=False, seekstart=0, s
85988598

85998599
def ftype_to_str(ftype):
86008600
mapping = {
8601-
0: "file",
8602-
1: "link",
8603-
2: "symlink",
8604-
3: "char device",
8605-
4: "block device",
8606-
5: "directory",
8607-
6: "fifo",
8608-
12: "sparse",
8609-
14: "device",
8601+
0: "file", # file
8602+
1: "link", # link
8603+
2: "sym", # symlink
8604+
3: "cdev", # char device
8605+
4: "bdev", # block device
8606+
5: "dir", # directory
8607+
6: "fifo", # fifo
8608+
12: "spar", # sparse
8609+
14: "dev", # generic device
86108610
}
86118611
# Default to "file" if unknown
86128612
return mapping.get(ftype, "file")

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "PyArchiveFile"
3-
version = "0.20.4"
3+
version = "0.20.6"
44
readme = "README.md"
55
license = { text = "BSD-3-Clause" }
66
keywords = []

0 commit comments

Comments
 (0)