diff options
author | William M. Brack <wbrack@src.gnome.org> | 2004-11-08 02:26:08 +0000 |
---|---|---|
committer | William M. Brack <wbrack@src.gnome.org> | 2004-11-08 02:26:08 +0000 |
commit | 83d9c37d7912fe496a3ab18ebeb2b7aeefe42bb8 (patch) | |
tree | 2fd471befeb001855ddbf953577198ed9cb82185 /gentest.py | |
parent | fb5476f216f7e509f5e7c558a8a7f8a09f09d7bc (diff) | |
download | android_external_libxml2-83d9c37d7912fe496a3ab18ebeb2b7aeefe42bb8.tar.gz android_external_libxml2-83d9c37d7912fe496a3ab18ebeb2b7aeefe42bb8.tar.bz2 android_external_libxml2-83d9c37d7912fe496a3ab18ebeb2b7aeefe42bb8.zip |
fixed test file corruption problem
* gentest.py: fixed test file corruption problem
Diffstat (limited to 'gentest.py')
-rwxr-xr-x | gentest.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -200,7 +200,9 @@ def type_convert(str, name, info, module, function, pos): string.find(info, "filename") != -1 or \ string.find(info, "URI") != -1 or \ string.find(info, "URL") != -1: - if string.find(function, "Save") != -1: + if string.find(function, "Save") != -1 or \ + string.find(function, "Create") != -1 or \ + string.find(function, "Write") != -1: return('fileoutput') return('filepath') if res == 'void_ptr': |