diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-12-26 19:50:05 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-12-26 19:50:05 +0300 |
commit | 2431c6667cf838901bb5dbec3f211416c112f648 (patch) | |
tree | 0698b1a93dcb24aea05c065d30f2db12f0d57b63 /source/blender/python | |
parent | 21b45f3b00c5a82e30c0144a47bdd19f6e0d647d (diff) |
* Added bSound to rna (still need to do bSample and bSoundListener structs)
* rna epy doc-gen was failing when trying to sort None
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/epy_doc_gen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/epy_doc_gen.py b/source/blender/python/epy_doc_gen.py index 6ed3dc0950b..6808a691e20 100644 --- a/source/blender/python/epy_doc_gen.py +++ b/source/blender/python/epy_doc_gen.py @@ -111,7 +111,7 @@ def rna2epy(target_path): def base_id(rna_struct): try: return rna_struct.base.identifier - except: return None + except: return '' # invalid id structs = [(base_id(rna_struct), rna_struct.identifier, rna_struct) for rna_struct in bpydoc.structs.values()] structs.sort() # not needed but speeds up sort below, setting items without an inheritance first |