[Bf-blender-cvs] [c829c71] master: use C style string formatting
Campbell Barton
noreply at git.blender.org
Wed May 21 17:13:45 CEST 2014
Commit: c829c71c57545a2e68f817e95470cca6c66edfd8
Author: Campbell Barton
Date: Thu May 22 01:12:00 2014 +1000
https://developer.blender.org/rBc829c71c57545a2e68f817e95470cca6c66edfd8
use C style string formatting
===================================================================
M release/scripts/startup/bl_operators/anim.py
===================================================================
diff --git a/release/scripts/startup/bl_operators/anim.py b/release/scripts/startup/bl_operators/anim.py
index e8890bf..42ab99e 100644
--- a/release/scripts/startup/bl_operators/anim.py
+++ b/release/scripts/startup/bl_operators/anim.py
@@ -362,5 +362,5 @@ class UpdateAnimatedTransformConstraint(Operator):
print(log)
text = bpy.data.texts.new("UpdateAnimatedTransformConstraint Report")
text.from_string(log)
- self.report({'INFO'}, "Complete report available on '{}' text datablock".format(text.name))
+ self.report({'INFO'}, "Complete report available on '%s' text datablock" % text.name)
return {'FINISHED'}
More information about the Bf-blender-cvs
mailing list