diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-27 00:41:54 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-27 00:41:54 +0400 |
commit | abf551b1a51fe7991be0eb9a8ced6a9c4db927e5 (patch) | |
tree | c1e279a212e8b3de1672fdacfd640c6d78569f77 /source/blender/python/bmesh | |
parent | 57f7aca8ee7d64c66ce8de950d1856c962841589 (diff) |
style cleanup: py api
Diffstat (limited to 'source/blender/python/bmesh')
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_types.c | 4 | ||||
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_types_customdata.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_types.c b/source/blender/python/bmesh/bmesh_py_types.c index 04ad9a298fd..afa628ee2cf 100644 --- a/source/blender/python/bmesh/bmesh_py_types.c +++ b/source/blender/python/bmesh/bmesh_py_types.c @@ -3054,8 +3054,8 @@ int bpy_bm_generic_valid_check(BPy_BMGeneric *self) } else { PyErr_Format(PyExc_ReferenceError, - "BMesh data of type %.200s has been removed", - Py_TYPE(self)->tp_name); + "BMesh data of type %.200s has been removed", + Py_TYPE(self)->tp_name); return -1; } } diff --git a/source/blender/python/bmesh/bmesh_py_types_customdata.c b/source/blender/python/bmesh/bmesh_py_types_customdata.c index 1f7f7290030..92142c1a036 100644 --- a/source/blender/python/bmesh/bmesh_py_types_customdata.c +++ b/source/blender/python/bmesh/bmesh_py_types_customdata.c @@ -712,7 +712,7 @@ void BPy_BM_init_types_customdata(void) /** * helper function for get/set, NULL return means the error is set -*/ + */ static void *bpy_bmlayeritem_ptr_get(BPy_BMElem *py_ele, BPy_BMLayerItem *py_layer) { void *value; @@ -746,7 +746,7 @@ static void *bpy_bmlayeritem_ptr_get(BPy_BMElem *py_ele, BPy_BMLayerItem *py_lay if (UNLIKELY(value == NULL)) { /* this should be fairly unlikely but possible if layers move about after we get them */ PyErr_SetString(PyExc_KeyError, - "BMElem[key]: layer not found"); + "BMElem[key]: layer not found"); return NULL; } else { |