Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Patches: Browse

[#31279] clarifiy a python error-string (when incorrectly specifying enum items from python)

Date:
2012-05-03 20:36
Priority:
3
State:
Closed
Submitted by:
Philipp Oeser (lichtwerk)
Assigned to:
Nobody (None)
Category:
Python API
Group:
None
Resolution(Old, use status):
None
Resolution:
Applied
Patch for:
 
Summary:
clarifiy a python error-string (when incorrectly specifying enum items from python)
Detailed description
tiniest patch possible :)

This only clarifies a python error-string (when incorrectly specifying enum items from python).
Thought this would make it more clear that it expects a 3-value tuple.

Only change is adding a comma within the tuple parentheses (and a fix for a typo)

..."expected an tuple containing (identifier, name description)"...
..."expected a tuple containing (identifier, name, description)"...

Followup

Message
  • Date: 2012-05-04 16:34
  • Sender: Joshua Leung
  • Thanks for the patch.

    Committed to SVN.
 

Attached Files:

Name Date Download
svn_diff_bpy_props.c 2012-05-03 20:36 Download

Changes:

Field Old Value Date By
status_idOpen2012-05-04 16:34aligorith
close_dateNone2012-05-04 16:34aligorith
ResolutionOpen2012-05-04 16:34aligorith
File Added20492: svn_diff_bpy_props.c2012-05-03 20:36lichtwerk