Browse Source

Fix python version check

test_fixup
Vadim Lebedev 2 years ago
parent
commit
70a29e44c9
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      libarchive/__init__.py

+ 1
- 2
libarchive/__init__.py View File

@@ -34,8 +34,7 @@ import warnings
from libarchive import _libarchive from libarchive import _libarchive
from io import StringIO from io import StringIO


# PY3 = sys.version_info[0] == 3
PY3 = True
PY3 = sys.version_info[0] >= 3


# Suggested block size for libarchive. Libarchive may adjust it. # Suggested block size for libarchive. Libarchive may adjust it.
BLOCK_SIZE = 10240 BLOCK_SIZE = 10240


Loading…
Cancel
Save