Skip to content

Commit 4a4946a

Browse files
authored
Add files via upload
1 parent 12fabd0 commit 4a4946a

2 files changed

Lines changed: 2 additions & 9 deletions

File tree

archivefile_py3.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,7 @@
1818
from io import BytesIO
1919
from typing import Optional, Dict, Any
2020

21-
# Prefer local Python-3-only builds when present, but fall back to the canonical name.
22-
try:
23-
import pyarchivefile_py3_fixed_v2 as pyarchivefile # type: ignore
24-
except ImportError:
25-
try:
26-
import pyarchivefile_py3_fixed as pyarchivefile # type: ignore
27-
except ImportError:
28-
import pyarchivefile # type: ignore
21+
import pyarchivefile_py3 as pyarchivefile
2922

3023
# Keep original behavior: log to stdout with simple message format.
3124
logging.basicConfig(format="%(message)s", stream=sys.stdout, level=logging.DEBUG)

pyarchivefile_py3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ def _get(section_dict, key, default=None):
625625
__version_date__ = str(__version_date_info__[0]) + "." + str(
626626
__version_date_info__[1]).zfill(2) + "." + str(__version_date_info__[2]).zfill(2)
627627
__revision__ = __version_info__[3]
628-
__revision_id__ = "$Id: 62f542c75dbb63ebbe7f708228d38f89f5a4fed6 $"
628+
__revision_id__ = "$Id: a75269d174e21d93a244ba64e716025624059d7a $"
629629
if(__version_info__[4] is not None):
630630
__version_date_plusrc__ = __version_date__ + \
631631
"-" + str(__version_date_info__[4])

0 commit comments

Comments
 (0)