##// END OF EJS Templates
cffi: remove superfluous "if True" blocks
Yuya Nishihara -
r32513:25b37900 default
parent child Browse files
Show More
@@ -15,8 +15,6 b' from . import _bdiff'
15 ffi = _bdiff.ffi
15 ffi = _bdiff.ffi
16 lib = _bdiff.lib
16 lib = _bdiff.lib
17
17
18 if True:
19 if True:
20 def blocks(sa, sb):
18 def blocks(sa, sb):
21 a = ffi.new("struct bdiff_line**")
19 a = ffi.new("struct bdiff_line**")
22 b = ffi.new("struct bdiff_line**")
20 b = ffi.new("struct bdiff_line**")
@@ -14,8 +14,6 b' from . import _mpatch'
14 ffi = _mpatch.ffi
14 ffi = _mpatch.ffi
15 lib = _mpatch.lib
15 lib = _mpatch.lib
16
16
17 if True:
18 if True:
19 @ffi.def_extern()
17 @ffi.def_extern()
20 def cffi_get_next_item(arg, pos):
18 def cffi_get_next_item(arg, pos):
21 all, bins = ffi.from_handle(arg)
19 all, bins = ffi.from_handle(arg)
General Comments 0
You need to be logged in to leave comments. Login now