/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/workingtree.py

  • Committer: Martin
  • Date: 2017-06-14 23:29:06 UTC
  • mto: This revision was merged to the branch mainline in revision 6698.
  • Revision ID: gzlist@googlemail.com-20170614232906-rcxh4ror0f0uwiof
Remove remaining uses of basestring from the codebase

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
from .i18n import gettext
70
70
from . import mutabletree
71
71
from .mutabletree import needs_tree_write_lock
 
72
from .sixish import (
 
73
    text_type,
 
74
    )
72
75
from .trace import mutter, note
73
76
 
74
77
 
1157
1160
        :force: Delete files and directories, even if they are changed and
1158
1161
            even if the directories are not empty.
1159
1162
        """
1160
 
        if isinstance(files, basestring):
 
1163
        if isinstance(files, (str, text_type)):
1161
1164
            files = [files]
1162
1165
 
1163
1166
        inv_delta = []