]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/compat.py
Require python 3.7+
[bup.git] / lib / bup / compat.py
index 96a228b78ded01d4c40b4f1a57f2c0e3128ac46b..8dc1a51fcde08ee586533a5e158645c0801ace3a 100644 (file)
@@ -1,15 +1,10 @@
 
-import os, sys
-
-py_maj = sys.version_info.major
-assert py_maj >= 3
-
 # pylint: disable=unused-import
 from contextlib import ExitStack, nullcontext
 from os import environb as environ
 from os import fsdecode, fsencode
 from shlex import quote
-
+import os, sys
 
 def hexstr(b):
     """Return hex string (not bytes as with hexlify) representation of b."""