Code Cleanup: line length and use Py_ssize_t for PyC_AsArray utility function.
[blender-staging.git] / source / blender / python / intern / bpy_operator_wrap.c
index 7860762059ce07c121dd1ad96c2d2fea2c664dab..39780e7e257081a828b3ccd65605ce4ea924ec1f 100644 (file)
@@ -112,7 +112,9 @@ PyObject *PYOP_wrap_macro_define(PyObject *UNUSED(self), PyObject *args)
                return NULL;
 
        if (WM_operatortype_find(opname, TRUE) == NULL) {
-               PyErr_Format(PyExc_ValueError, "Macro Define: '%s' is not a valid operator id", opname);
+               PyErr_Format(PyExc_ValueError,
+                            "Macro Define: '%s' is not a valid operator id",
+                            opname);
                return NULL;
        }
 
@@ -123,7 +125,9 @@ PyObject *PYOP_wrap_macro_define(PyObject *UNUSED(self), PyObject *args)
        ot = WM_operatortype_find(macroname, TRUE);
 
        if (!ot) {
-               PyErr_Format(PyExc_ValueError, "Macro Define: '%s' is not a valid macro or hasn't been registered yet", macroname);
+               PyErr_Format(PyExc_ValueError,
+                            "Macro Define: '%s' is not a valid macro or hasn't been registered yet",
+                            macroname);
                return NULL;
        }