]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/compat.py
Drop vestigial compat.items
[bup.git] / lib / bup / compat.py
index e34c23a6b52d415d50bf5fba80fb44148820e7ee..96a228b78ded01d4c40b4f1a57f2c0e3128ac46b 100644 (file)
@@ -10,6 +10,7 @@ from os import environb as environ
 from os import fsdecode, fsencode
 from shlex import quote
 
+
 def hexstr(b):
     """Return hex string (not bytes as with hexlify) representation of b."""
     return b.hex()
@@ -50,9 +51,6 @@ class pending_raise:
     def __del__(self):
         assert self.closed
 
-def items(x):
-    return x.items()
-
 def argv_bytes(x):
     """Return the original bytes passed to main() for an argv argument."""
     return fsencode(x)