Rev 4759: import_static_tuple_c() is defined as except -1, so the import code knows to propogate the exception. in http://bazaar.launchpad.net/~jameinel/bzr/2.1-static-tuple

John Arbash Meinel john at arbash-meinel.com
Wed Oct 7 19:53:56 BST 2009


At http://bazaar.launchpad.net/~jameinel/bzr/2.1-static-tuple

------------------------------------------------------------
revno: 4759
revision-id: john at arbash-meinel.com-20091007185341-0080bnb4ru4v2jp6
parent: john at arbash-meinel.com-20091007161250-s9lqf98ci6i5mkqe
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.1-static-tuple
timestamp: Wed 2009-10-07 13:53:41 -0500
message:
  import_static_tuple_c() is defined as except -1, so the import code knows to propogate the exception.
-------------- next part --------------
=== modified file 'bzrlib/_chk_map_pyx.pyx'
--- a/bzrlib/_chk_map_pyx.pyx	2009-10-07 15:57:25 +0000
+++ b/bzrlib/_chk_map_pyx.pyx	2009-10-07 18:53:41 +0000
@@ -67,8 +67,7 @@
 
 
 # This sets up the StaticTuple C_API functionality
-if import_static_tuple_c() != 0:
-    raise ImportError('der borken')
+import_static_tuple_c()
 
 cdef object _LeafNode
 _LeafNode = None



More information about the bazaar-commits mailing list