[Bf-blender-cvs] [702372f] master: Fix wrong format used in the recent python exit code commit
Sergey Sharybin
noreply at git.blender.org
Thu Dec 31 14:03:12 CET 2015
Commit: 702372f6c5c2ef8db0324df4eb83d9aee1eaebc3
Author: Sergey Sharybin
Date: Thu Dec 31 18:02:54 2015 +0500
Branches: master
https://developer.blender.org/rB702372f6c5c2ef8db0324df4eb83d9aee1eaebc3
Fix wrong format used in the recent python exit code commit
===================================================================
M source/creator/creator.c
===================================================================
diff --git a/source/creator/creator.c b/source/creator/creator.c
index b947d55..ca8a9f8 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -1377,7 +1377,7 @@ static int run_python_file(int argc, const char **argv, void *data)
bool ok;
BPY_CTX_SETUP(ok = BPY_execute_filepath(C, filename, NULL));
if (!ok && python_exit_code_on_error) {
- printf("\nError: script failed, file: '%s', exiting.\n", argv[1], python_exit_code_on_error);
+ printf("\nError: script failed, file: '%s', exiting with code %d.\n", argv[1], python_exit_code_on_error);
exit(python_exit_code_on_error);
}
return 1;
More information about the Bf-blender-cvs
mailing list