~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_walkdirs_win32.pyx

  • Committer: Robert Collins
  • Date: 2008-09-23 23:28:27 UTC
  • mto: (3696.4.15 process-entry-optimised)
  • mto: This revision was merged to the branch mainline in revision 3731.
  • Revision ID: robertc@robertcollins.net-20080923232827-vpd4xsif8x8op6i3
Review feedback.

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
import operator
72
72
import stat
73
73
 
74
 
from bzrlib import osutils
 
74
from bzrlib import osutils, _readdir_py
75
75
 
76
76
 
77
77
cdef class _Win32Stat:
158
158
    cdef object _file_kind
159
159
 
160
160
    def __init__(self):
161
 
        self._directory_kind = osutils._directory_kind
162
 
        self._file_kind = osutils._formats[stat.S_IFREG]
 
161
        self._directory_kind = _readdir_py._directory
 
162
        self._file_kind = _readdir_py._file
163
163
 
164
164
    def top_prefix_to_starting_dir(self, top, prefix=""):
165
165
        """See DirReader.top_prefix_to_starting_dir."""