From 207891ff2946db888c80b15f77e7cce15bfcc006 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 5 Aug 2008 14:53:29 +0000 Subject: * Fix blanks mismatch (space in *.c and *h files or tabs in *.py files) and formatting --- php/patch_swig_output.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'php') diff --git a/php/patch_swig_output.py b/php/patch_swig_output.py index 8ee8e21e..93304286 100755 --- a/php/patch_swig_output.py +++ b/php/patch_swig_output.py @@ -274,8 +274,8 @@ else: break segment = wrap[i:j] if not 'object_init_ex' in segment: - i = wrap.find(begin, i + len(segment)) - continue + i = wrap.find(begin, i + len(segment)) + continue x = segment.find('object_init_ex(return_value,') + len('object_init_ex(return_value,') y = segment.find(')', x) segment = '%s%s%s' % (segment[:x], 'get_node_info_with_swig(ty)->php', segment[y:]) -- cgit