diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-09-18 14:43:32 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-09-18 14:43:32 +0400 |
commit | 868fdd80a2060f52dcfcd1f9e6506c8fd4aa15e1 (patch) | |
tree | ec82f8a450c7d4938d6d6d83acb9d0825549342a /release/scripts/modules/rna_info.py | |
parent | 6963574a55152bcd475f86439e0453350da8e728 (diff) |
use is rather then == when comparing against None.
Diffstat (limited to 'release/scripts/modules/rna_info.py')
-rw-r--r-- | release/scripts/modules/rna_info.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/rna_info.py b/release/scripts/modules/rna_info.py index b2b8558b988..f78be1cf958 100644 --- a/release/scripts/modules/rna_info.py +++ b/release/scripts/modules/rna_info.py @@ -381,7 +381,7 @@ class InfoOperatorRNA: def _GetInfoRNA(bl_rna, cls, parent_id=''): - if bl_rna == None: + if bl_rna is None: return None key = parent_id, bl_rna.identifier |