Rev 4722: Track down the last few cases. in http://bazaar.launchpad.net/~jameinel/bzr/2.0.4-pyrex-propagation
John Arbash Meinel
john at arbash-meinel.com
Tue Jan 5 04:54:06 GMT 2010
At http://bazaar.launchpad.net/~jameinel/bzr/2.0.4-pyrex-propagation
------------------------------------------------------------
revno: 4722
revision-id: john at arbash-meinel.com-20100105045352-ihgrq3yzl0e3uzje
parent: john at arbash-meinel.com-20100105045153-5yps8xnyqld50mvq
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.0.4-pyrex-propagation
timestamp: Mon 2010-01-04 22:53:52 -0600
message:
Track down the last few cases.
-------------- next part --------------
=== modified file 'bzrlib/_rio_pyx.pyx'
--- a/bzrlib/_rio_pyx.pyx 2009-05-15 02:36:03 +0000
+++ b/bzrlib/_rio_pyx.pyx 2010-01-05 04:53:52 +0000
@@ -49,7 +49,7 @@
from bzrlib.rio import Stanza
-cdef int _valid_tag_char(char c):
+cdef int _valid_tag_char(char c): # no except
return (c == c'_' or c == c'-' or
(c >= c'a' and c <= c'z') or
(c >= c'A' and c <= c'Z') or
=== modified file 'bzrlib/_walkdirs_win32.pyx'
--- a/bzrlib/_walkdirs_win32.pyx 2009-03-23 14:59:43 +0000
+++ b/bzrlib/_walkdirs_win32.pyx 2010-01-05 04:53:52 +0000
@@ -109,7 +109,7 @@
wcslen(data.cFileName))
-cdef int _get_mode_bits(WIN32_FIND_DATAW *data):
+cdef int _get_mode_bits(WIN32_FIND_DATAW *data): # no except
cdef int mode_bits
mode_bits = 0100666 # writeable file, the most common
@@ -121,13 +121,13 @@
return mode_bits
-cdef __int64 _get_size(WIN32_FIND_DATAW *data):
+cdef __int64 _get_size(WIN32_FIND_DATAW *data): # no except
# Pyrex casts a DWORD into a PyLong anyway, so it is safe to do << 32
# on a DWORD
return ((<__int64>data.nFileSizeHigh) << 32) + data.nFileSizeLow
-cdef double _ftime_to_timestamp(FILETIME *ft):
+cdef double _ftime_to_timestamp(FILETIME *ft): # no except
"""Convert from a FILETIME struct into a floating point timestamp.
The fields of a FILETIME structure are the hi and lo part
@@ -147,7 +147,7 @@
return (val * 1.0e-7) - 11644473600.0
-cdef int _should_skip(WIN32_FIND_DATAW *data):
+cdef int _should_skip(WIN32_FIND_DATAW *data): # no except
"""Is this '.' or '..' so we should skip it?"""
if (data.cFileName[0] != c'.'):
return 0
More information about the bazaar-commits
mailing list