/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/_walkdirs_win32.pyx

  • Committer: Jelmer Vernooij
  • Date: 2017-06-10 01:43:31 UTC
  • mfrom: (6676 work)
  • mto: This revision was merged to the branch mainline in revision 6690.
  • Revision ID: jelmer@jelmer.uk-20170610014331-1xalwmij33imwidq
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""Helper functions for Walkdirs on win32."""
18
18
 
 
19
from __future__ import absolute_import
 
20
 
19
21
 
20
22
cdef extern from "python-compat.h":
21
23
    struct _HANDLE:
72
74
import os
73
75
import stat
74
76
 
75
 
from breezy import _readdir_py
 
77
from . import _readdir_py
76
78
 
77
79
cdef object osutils
78
80
osutils = None
187
189
        """See DirReader.top_prefix_to_starting_dir."""
188
190
        global osutils
189
191
        if osutils is None:
190
 
            from breezy import osutils
 
192
            from . import osutils
191
193
        return (osutils.safe_utf8(prefix), None, None, None,
192
194
                osutils.safe_unicode(top))
193
195