From 4a8663d66e4d82b7a8b9a3f6155c6367b694e08c Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Thu, 2 May 2013 14:03:56 +0000 Subject: [PATCH] A bit more clear error message... --- source/blender/python/bmesh/bmesh_py_ops_call.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/blender/python/bmesh/bmesh_py_ops_call.c b/source/blender/python/bmesh/bmesh_py_ops_call.c index 4d728b76707..7ac4dd5d0b7 100644 --- a/source/blender/python/bmesh/bmesh_py_ops_call.c +++ b/source/blender/python/bmesh/bmesh_py_ops_call.c @@ -700,8 +700,7 @@ PyObject *BPy_BMO_call(BPy_BMeshOpFunc *self, PyObject *args, PyObject *kw) } else { PyErr_SetString(PyExc_TypeError, - "calling a bmesh operator expects a single BMesh (non keyword) " - "as the first argument"); + "bmesh operators expect a single BMesh positional argument, all other args must be keywords"); return NULL; }