Cleanup: style
[blender.git] / source / blender / python / intern / bpy_msgbus.c
index 08ed60b5073f13efdfe6a865d30957c481f15e19..bfcf089fb60663e96261931dfa931afe54e402ed 100644 (file)
@@ -247,11 +247,11 @@ static PyObject *bpy_msgbus_subscribe_rna(PyObject *UNUSED(self), PyObject *args
        int options = 0;
 
        if (PyTuple_GET_SIZE(args) != 0) {
-                       PyErr_Format(
-                               PyExc_TypeError,
-                               "%s: only keyword arguments are supported",
-                               error_prefix);
-                       return NULL;
+               PyErr_Format(
+                       PyExc_TypeError,
+                       "%s: only keyword arguments are supported",
+                       error_prefix);
+               return NULL;
        }
        static const char *_keywords[] = {
                "key",
@@ -343,11 +343,11 @@ static PyObject *bpy_msgbus_publish_rna(PyObject *UNUSED(self), PyObject *args,
        PyObject *py_sub = NULL;
 
        if (PyTuple_GET_SIZE(args) != 0) {
-                       PyErr_Format(
-                               PyExc_TypeError,
-                               "%s: only keyword arguments are supported",
-                               error_prefix);
-                       return NULL;
+               PyErr_Format(
+                       PyExc_TypeError,
+                       "%s: only keyword arguments are supported",
+                       error_prefix);
+               return NULL;
        }
        static const char *_keywords[] = {
                "key",