diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-04 09:54:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-04 09:54:40 +0300 |
commit | 7719c110064fc6f90c93c5339681b7dd9f5cbd63 (patch) | |
tree | 6939cd7d5eeeb083d9846ea1945a74dd4a4dc3cb /source/blender/python/intern/bpy_capi_utils.c | |
parent | 854db8951bc15a7545eea3ff2219a28897698ead (diff) |
Cleanup: strip trailing space in Python module
Diffstat (limited to 'source/blender/python/intern/bpy_capi_utils.c')
-rw-r--r-- | source/blender/python/intern/bpy_capi_utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/python/intern/bpy_capi_utils.c b/source/blender/python/intern/bpy_capi_utils.c index 7232e4ea821..f873a8a762b 100644 --- a/source/blender/python/intern/bpy_capi_utils.c +++ b/source/blender/python/intern/bpy_capi_utils.c @@ -88,21 +88,21 @@ bool BPy_errors_to_report_ex(ReportList *reports, const bool use_full, const boo if (!PyErr_Occurred()) return 1; - + /* less hassle if we allow NULL */ if (reports == NULL) { PyErr_Print(); PyErr_Clear(); return 1; } - + if (use_full) { pystring = PyC_ExceptionBuffer(); } else { pystring = PyC_ExceptionBuffer_Simple(); } - + if (pystring == NULL) { BKE_report(reports, RPT_ERROR, "Unknown py-exception, could not convert"); return 0; |