[Bf-blender-cvs] [c067f1d0d4] master: Fix stupid mistake in previous commit for release builds of API doc.

Bastien Montagne noreply at git.blender.org
Thu Feb 23 22:08:29 CET 2017


Commit: c067f1d0d470ada577f2b722b543d814448ce550
Author: Bastien Montagne
Date:   Thu Feb 23 22:08:01 2017 +0100
Branches: master
https://developer.blender.org/rBc067f1d0d470ada577f2b722b543d814448ce550

Fix stupid mistake in previous commit for release builds of API doc.

===================================================================

M	doc/python_api/sphinx_doc_update.py

===================================================================

diff --git a/doc/python_api/sphinx_doc_update.py b/doc/python_api/sphinx_doc_update.py
index c7717c4a80..884ddeecff 100755
--- a/doc/python_api/sphinx_doc_update.py
+++ b/doc/python_api/sphinx_doc_update.py
@@ -121,7 +121,7 @@ def main():
             "    f.write('%d\\n' % is_release)\n"
             "    f.write('%d.%d%s\\n' % (bpy.app.version[0], bpy.app.version[1], bpy.app.version_char)\n"
             "            if is_release else '%s\\n' % branch)\n"
-            "    f.write('%d_%d%s_release\\n' % (bpy.app.version[0], bpy.app.version[1], bpy.app.version_char)\n"
+            "    f.write('%d_%d%s_release' % (bpy.app.version[0], bpy.app.version[1], bpy.app.version_char)\n"
             "            if is_release else '%d_%d_%d' % bpy.app.version)\n")
         get_ver_cmd = (args.blender, "--background", "-noaudio", "--factory-startup", "--python-exit-code", "1",
                        "--python-expr", getver_script, "--", getver_file)




More information about the Bf-blender-cvs mailing list