diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-03-16 20:19:42 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-03-16 20:19:42 +0300 |
commit | 46ed51ce26ee78e82b8dfbc12040edbdbd39c6ad (patch) | |
tree | 0730b1f9e48c0bf5fafd032f1ca67921a5f0df40 /source/blender/python/intern/bpy_util.c | |
parent | f17dcf58c86274661a10cf4f95939deb63a02fa7 (diff) |
made argument conversion for much more verbose, wasnt giving enough info with bad operator args.
(commit 27432 by Campbell from render25 branch)
Diffstat (limited to 'source/blender/python/intern/bpy_util.c')
-rw-r--r-- | source/blender/python/intern/bpy_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/intern/bpy_util.c b/source/blender/python/intern/bpy_util.c index a2bcfa63c31..38462d1b176 100644 --- a/source/blender/python/intern/bpy_util.c +++ b/source/blender/python/intern/bpy_util.c @@ -243,8 +243,8 @@ PyObject *BPY_exception_buffer(void) PyErr_Clear(); - /* import StringIO / io - * string_io = StringIO.StringIO() + /* import io + * string_io = io.StringIO() */ if(! (string_io_mod= PyImport_ImportModule("io")) ) { |