[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [17940] branches/blender2.5/blender/source /blender/python/epy_doc_gen.py: string args were given in wrong order.

Campbell Barton ideasman42 at gmail.com
Fri Dec 19 06:09:17 CET 2008


Revision: 17940
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17940
Author:   campbellbarton
Date:     2008-12-19 06:09:17 +0100 (Fri, 19 Dec 2008)

Log Message:
-----------
string args were given in wrong order.

Modified Paths:
--------------
    branches/blender2.5/blender/source/blender/python/epy_doc_gen.py

Modified: branches/blender2.5/blender/source/blender/python/epy_doc_gen.py
===================================================================
--- branches/blender2.5/blender/source/blender/python/epy_doc_gen.py	2008-12-19 05:05:23 UTC (rev 17939)
+++ branches/blender2.5/blender/source/blender/python/epy_doc_gen.py	2008-12-19 05:09:17 UTC (rev 17940)
@@ -95,7 +95,7 @@
 					out.write('\t at type %s: %s%s%s\n' %  (rna_prop_identifier, rna_prop_type,  array_str, readonly_str))
 				elif rna_prop_type == 'int' or rna_prop_type == 'float':
 					out.write('\t at ivar %s: %s\n' %  (rna_prop_identifier, rna_desc))
-					out.write('\t at type %s: %s%s%s in [%s, %s]\n' %  (rna_prop_identifier, rna_prop_type, array_str, range_str(rna_prop.hard_min), range_str(rna_prop.hard_max), readonly_str ))
+					out.write('\t at type %s: %s%s%s in [%s, %s]\n' %  (rna_prop_identifier, rna_prop_type, array_str, readonly_str, range_str(rna_prop.hard_min), range_str(rna_prop.hard_max) ))
 				elif rna_prop_type == 'string':
 					out.write('\t at ivar %s: %s (maximum length of %s)\n' %  (rna_prop_identifier, rna_desc, rna_prop.max_length))
 					out.write('\t at type %s: %s%s%s\n' %  (rna_prop_identifier, rna_prop_type, array_str, readonly_str))





More information about the Bf-blender-cvs mailing list