/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/transport/fakevfat.py

  • Committer: Jelmer Vernooij
  • Date: 2018-07-06 23:36:14 UTC
  • mto: (7027.3.2 python3-n)
  • mto: This revision was merged to the branch mainline in revision 7030.
  • Revision ID: jelmer@jelmer.uk-20180706233614-t4m8krag15t4z4lp
Update python3.passing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
"""
40
40
 
 
41
from __future__ import absolute_import
 
42
 
41
43
import re
42
44
 
43
 
from bzrlib.errors import TransportNotPossible
44
 
from bzrlib.transport import decorator
 
45
from . import decorator
45
46
 
46
47
 
47
48
# TODO: It might be nice if these hooks were available in a more general way
87
88
        return self._decorated.get(self._squash_name(relpath))
88
89
 
89
90
    def mkdir(self, relpath, mode=None):
90
 
        return self._decorated.mkdir(self._squash_name(relpath), 0755)
 
91
        return self._decorated.mkdir(self._squash_name(relpath), 0o755)
91
92
 
92
93
    def has(self, relpath):
93
94
        return self._decorated.has(self._squash_name(relpath))
101
102
 
102
103
def get_test_permutations():
103
104
    """Return the permutations to be used in testing."""
104
 
    from bzrlib.tests import test_server
 
105
    from breezy.tests import test_server
105
106
    return [(FakeVFATTransportDecorator, test_server.FakeVFATServer),]