use is rather then == when comparing against None.

This commit is contained in:
2010-09-18 10:43:32 +00:00
parent 6963574a55
commit 868fdd80a2
22 changed files with 41 additions and 42 deletions

View File

@@ -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