diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-22 20:44:32 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-22 20:44:32 +0400 |
commit | 1939baa47d6d6cd6cedb7440bc7b8e988fe6c702 (patch) | |
tree | b572c510bdb6356be5f7770d5d71629b168d683a /source/blender/python | |
parent | 6143acf8784bdb89c9b93c04c93c1ef0ca6e97e3 (diff) |
style cleanup
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_types.c | 2 | ||||
-rw-r--r-- | source/blender/python/intern/bpy_operator.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_types.c b/source/blender/python/bmesh/bmesh_py_types.c index 9270aec8d95..24e7cd575ed 100644 --- a/source/blender/python/bmesh/bmesh_py_types.c +++ b/source/blender/python/bmesh/bmesh_py_types.c @@ -2159,7 +2159,9 @@ static PyObject *bpy_bmelemseq_sort(BPy_BMElemSeq *self, PyObject *args, PyObjec "|Oi:BMElemSeq.sort", (char **)kwlist, &keyfunc, &reverse)) + { return NULL; + } } if (keyfunc != NULL && !PyCallable_Check(keyfunc)) { diff --git a/source/blender/python/intern/bpy_operator.c b/source/blender/python/intern/bpy_operator.c index 90ea589fde4..55ef217e781 100644 --- a/source/blender/python/intern/bpy_operator.c +++ b/source/blender/python/intern/bpy_operator.c @@ -160,7 +160,9 @@ static PyObject *pyop_call(PyObject *UNUSED(self), PyObject *args) if (!PyArg_ParseTuple(args, "sO|O!si:_bpy.ops.call", &opname, &context_dict, &PyDict_Type, &kw, &context_str, &is_undo)) + { return NULL; + } ot = WM_operatortype_find(opname, TRUE); |