Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-09-18 14:43:32 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-09-18 14:43:32 +0400
commit868fdd80a2060f52dcfcd1f9e6506c8fd4aa15e1 (patch)
treeec82f8a450c7d4938d6d6d83acb9d0825549342a /release/scripts/modules/rna_info.py
parent6963574a55152bcd475f86439e0453350da8e728 (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.py2
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