Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-11-25 14:56:49 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-11-25 15:54:39 +0300
commitd7d1fc5c748234218d24210f0739104a8195a532 (patch)
tree434a6802f4fa5d8dfb1e295b0ac9182412a0b83f /source/blender/python/generic
parent6894fe3b7a200c4eae8ad980c3dcafe54e52393f (diff)
Cleanup: use correct name in prints
Diffstat (limited to 'source/blender/python/generic')
-rw-r--r--source/blender/python/generic/py_capi_utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/python/generic/py_capi_utils.c b/source/blender/python/generic/py_capi_utils.c
index 60463be609e..f2e48cbd6ea 100644
--- a/source/blender/python/generic/py_capi_utils.c
+++ b/source/blender/python/generic/py_capi_utils.c
@@ -701,7 +701,7 @@ void PyC_RunQuicky(const char *filepath, int n, ...)
}
if (ret == NULL) {
- printf("PyC_InlineRun error, line:%d\n", __LINE__);
+ printf("%s error, line:%d\n", __func__, __LINE__);
PyErr_Print();
PyErr_Clear();
@@ -775,7 +775,7 @@ void PyC_RunQuicky(const char *filepath, int n, ...)
Py_DECREF(ret);
}
else {
- printf("PyC_InlineRun error on arg '%d', line:%d\n", i, __LINE__);
+ printf("%s error on arg '%d', line:%d\n", __func__, i, __LINE__);
PyC_ObSpit("failed converting:", item_new);
PyErr_Print();
PyErr_Clear();
@@ -786,11 +786,11 @@ void PyC_RunQuicky(const char *filepath, int n, ...)
va_end(vargs);
}
else {
- printf("PyC_InlineRun error, 'values' not a list, line:%d\n", __LINE__);
+ printf("%s error, 'values' not a list, line:%d\n", __func__, __LINE__);
}
}
else {
- printf("PyC_InlineRun error line:%d\n", __LINE__);
+ printf("%s error line:%d\n", __func__, __LINE__);
PyErr_Print();
PyErr_Clear();
}