style cleanup: python api
[blender.git] / source / blender / python / generic / py_capi_utils.c
index 11607ad78b8d0d4a1cde8569e6e9a2d3b21db41e..0e5122787b8b500792920094b53bf8ccfd8eda13 100644 (file)
@@ -156,8 +156,8 @@ void PyC_FileAndNum(const char **filename, int *lineno)
 {
        PyFrameObject *frame;
        
-       if (filename)   *filename = NULL;
-       if (lineno)             *lineno = -1;
+       if (filename) *filename = NULL;
+       if (lineno)   *lineno = -1;
 
        if (!(frame = PyThreadState_GET()->frame)) {
                return;
@@ -538,7 +538,7 @@ void PyC_RunQuicky(const char *filepath, int n, ...)
                        ret = PyObject_CallFunction(calcsize, (char *)"s", format);
 
                        if (ret) {
-                               sizes[i]= PyLong_AsSsize_t(ret);
+                               sizes[i] = PyLong_AsSsize_t(ret);
                                Py_DECREF(ret);
                                ret = PyObject_CallFunction(unpack, (char *)"sy#", format, (char *)ptr, sizes[i]);
                        }
@@ -551,7 +551,7 @@ void PyC_RunQuicky(const char *filepath, int n, ...)
                                PyList_SET_ITEM(values, i, Py_None); /* hold user */
                                Py_INCREF(Py_None);
 
-                               sizes[i]= 0;
+                               sizes[i] = 0;
                        }
                        else {
                                if (PyTuple_GET_SIZE(ret) == 1) {