diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-11-17 08:09:57 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-11-17 08:09:57 +0400 |
commit | 85bbef0f4ea2e7cacf2f681367f34fb6037d1df1 (patch) | |
tree | 1534722e133923a7abc500bb389d822f51ad9c1d /source/blender/python/generic | |
parent | c9209de573ad680dbad6b560c05a90b02b780267 (diff) |
python api internals: no need to set the stop-iter exception string.
Diffstat (limited to 'source/blender/python/generic')
-rw-r--r-- | source/blender/python/generic/idprop_py_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/generic/idprop_py_api.c b/source/blender/python/generic/idprop_py_api.c index da136675e1d..c3cbe7ddbf9 100644 --- a/source/blender/python/generic/idprop_py_api.c +++ b/source/blender/python/generic/idprop_py_api.c @@ -1397,7 +1397,7 @@ static PyObject *BPy_Group_Iter_Next(BPy_IDGroup_Iter *self) } } else { - PyErr_SetString(PyExc_StopIteration, "iterator at end"); + PyErr_SetNone(PyExc_StopIteration); return NULL; } } |