Rev 2336: Fix use of _kind_missing in path_info_c. in file:///home/robertc/source/baz/pathinfo/

Robert Collins robertc at robertcollins.net
Tue Mar 13 03:11:07 GMT 2007


At file:///home/robertc/source/baz/pathinfo/

------------------------------------------------------------
revno: 2336
revision-id: robertc at robertcollins.net-20070313031105-75igf0l5dzw6bhq7
parent: robertc at robertcollins.net-20070311235813-r8nyncnyjp1gtozy
committer: Robert Collins <robertc at robertcollins.net>
branch nick: pathinfo
timestamp: Tue 2007-03-13 14:11:05 +1100
message:
  Fix use of _kind_missing in path_info_c.
modified:
  bzrlib/path_info_c.c           path_info_c.c-20070309072643-pox974xfyuw278hs-1
  bzrlib/path_info_c.pyx         path_info_c.pyx-20070309072643-pox974xfyuw278hs-2
=== modified file 'bzrlib/path_info_c.c'
--- a/bzrlib/path_info_c.c	2007-03-10 05:35:22 +0000
+++ b/bzrlib/path_info_c.c	2007-03-13 03:11:05 +0000
@@ -1,4 +1,4 @@
-/* Generated by Pyrex 0.9.4.1 on Sat Mar 10 16:33:37 2007 */
+/* Generated by Pyrex 0.9.4.1 on Tue Mar 13 14:10:25 2007 */
 
 #define PY_SSIZE_T_CLEAN
 #include "Python.h"
@@ -673,7 +673,6 @@
 
 static PyObject *__pyx_n___class__;
 static PyObject *__pyx_n_str;
-static PyObject *__pyx_n__kind_missing;
 static PyObject *__pyx_n_bool;
 
 static PyObject *__pyx_k32p;
@@ -750,7 +749,7 @@
     /*else*/ {
 
       /* "/home/robertc/source/baz/pathinfo/bzrlib/path_info_c.pyx":211 */
-      __pyx_5 = __Pyx_GetName(__pyx_b, __pyx_n__kind_missing); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 211; goto __pyx_L1;}
+      __pyx_5 = __Pyx_GetName(__pyx_m, __pyx_n_kind_missing); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 211; goto __pyx_L1;}
       __pyx_1 = PyInt_FromLong(0); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 211; goto __pyx_L1;}
       __pyx_6 = __Pyx_GetName(__pyx_b, __pyx_n_False); if (!__pyx_6) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 211; goto __pyx_L1;}
       __pyx_2 = PyInt_FromLong(0); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 211; goto __pyx_L1;}
@@ -1013,7 +1012,6 @@
   {&__pyx_n__fast_pack_stat, "_fast_pack_stat"},
   {&__pyx_n__fifo, "_fifo"},
   {&__pyx_n__file, "_file"},
-  {&__pyx_n__kind_missing, "_kind_missing"},
   {&__pyx_n__slow_pack_stat, "_slow_pack_stat"},
   {&__pyx_n__socket, "_socket"},
   {&__pyx_n__struct, "_struct"},

=== modified file 'bzrlib/path_info_c.pyx'
--- a/bzrlib/path_info_c.pyx	2007-03-10 05:35:22 +0000
+++ b/bzrlib/path_info_c.pyx	2007-03-13 03:11:05 +0000
@@ -208,7 +208,7 @@
         else:
             # TODO: could make this a constant to return, if we expect it to be
             # common.
-            return (_kind_missing, 0, False, 0, '')
+            return (kind_missing, 0, False, 0, '')
     # result.append((fullname, a_stat.st_mode, a_stat.st_size, entry.d_ino))
     # base64.encode always adds a final newline, so strip it off
     #statcachekey = _encode(_pack('>llllll'



More information about the bazaar-commits mailing list