summaryrefslogtreecommitdiffstats
path: root/php/patch_swig_output.py
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2008-08-05 14:53:29 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2008-08-05 14:53:29 +0000
commit207891ff2946db888c80b15f77e7cce15bfcc006 (patch)
treec1bc0b3b20525c1b842973c2602f61bdec50c919 /php/patch_swig_output.py
parentf83d4bd9f8227da65dbc350b3d2d390b7b0a2299 (diff)
downloadlasso-207891ff2946db888c80b15f77e7cce15bfcc006.tar.gz
lasso-207891ff2946db888c80b15f77e7cce15bfcc006.tar.xz
lasso-207891ff2946db888c80b15f77e7cce15bfcc006.zip
* Fix blanks mismatch (space in *.c and *h files or tabs in *.py files) and formatting
Diffstat (limited to 'php/patch_swig_output.py')
-rwxr-xr-xphp/patch_swig_output.py4
1 files changed, 2 insertions, 2 deletions
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:])