converted more mixed tab/space indentations to tabs. only whitespace changes.
[blender.git] / source / blender / python / intern / bpy_rna.c
index e254f80..19cd9df 100644 (file)
@@ -2942,9 +2942,9 @@ static PyObject *pyrna_struct_getattro(BPy_StructRNA *self, PyObject *pyname)
 #if 0
 static int pyrna_struct_pydict_contains(PyObject *self, PyObject *pyname)
 {
-        PyObject *dict= *(_PyObject_GetDictPtr((PyObject *)self));
-        if (dict==NULL) /* unlikely */
-                return 0;
+       PyObject *dict= *(_PyObject_GetDictPtr((PyObject *)self));
+       if (dict==NULL) /* unlikely */
+               return 0;
 
        return PyDict_Contains(dict, pyname);
 }
@@ -5463,19 +5463,19 @@ StructRNA *pyrna_struct_as_srna(PyObject *self, int parent, const char *error_pr
        }
 
        if(py_srna==NULL) {
-                PyErr_Format(PyExc_RuntimeError, "%.200s, missing bl_rna attribute from '%.200s' instance (may not be registered)", error_prefix, Py_TYPE(self)->tp_name);
+               PyErr_Format(PyExc_RuntimeError, "%.200s, missing bl_rna attribute from '%.200s' instance (may not be registered)", error_prefix, Py_TYPE(self)->tp_name);
                return NULL;
        }
 
        if(!BPy_StructRNA_Check(py_srna)) {
-                PyErr_Format(PyExc_TypeError, "%.200s, bl_rna attribute wrong type '%.200s' on '%.200s'' instance", error_prefix, Py_TYPE(py_srna)->tp_name, Py_TYPE(self)->tp_name);
-                Py_DECREF(py_srna);
+               PyErr_Format(PyExc_TypeError, "%.200s, bl_rna attribute wrong type '%.200s' on '%.200s'' instance", error_prefix, Py_TYPE(py_srna)->tp_name, Py_TYPE(self)->tp_name);
+               Py_DECREF(py_srna);
                return NULL;
        }
 
        if(py_srna->ptr.type != &RNA_Struct) {
                PyErr_Format(PyExc_TypeError, "%.200s, bl_rna attribute not a RNA_Struct, on '%.200s'' instance", error_prefix, Py_TYPE(self)->tp_name);
-                Py_DECREF(py_srna);
+               Py_DECREF(py_srna);
                return NULL;
        }