]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/drecurse.py
Drop vestigial compat.str_type
[bup.git] / lib / bup / drecurse.py
index 84fbce608281f5c2a1cc0c1ffed8e5300cc68689..a5a04e9a424f785e7fb97041d91a2121362cdc0f 100644 (file)
@@ -2,7 +2,6 @@
 from __future__ import absolute_import
 import stat, os
 
-from bup.compat import str_type
 from bup.helpers \
     import (add_error,
             debug1,
@@ -89,7 +88,7 @@ def recursive_dirlist(paths, xdev, bup_dir=None,
                       xdev_exceptions=frozenset()):
     with finalized_fd(b'.') as startdir:
         try:
-            assert not isinstance(paths, str_type)
+            assert not isinstance(paths, str)
             for path in paths:
                 try:
                     pst = xstat.lstat(path)