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

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-03-29 07:54:27 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-03-29 07:54:27 +0400
commit1d838454afb884cf7b288afc7b6915c779230ecb (patch)
treea8d433cd705f8f3b47e3bb272daccea320f66dba /rigify/rigs/palm.py
parent0fcd2037beda8c2ce5fbd29700b1fc5545a29d28 (diff)
use identity comparison with None (as suggested by python)
Diffstat (limited to 'rigify/rigs/palm.py')
-rw-r--r--rigify/rigs/palm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rigify/rigs/palm.py b/rigify/rigs/palm.py
index 26cb3715..d1a3cf61 100644
--- a/rigify/rigs/palm.py
+++ b/rigify/rigs/palm.py
@@ -32,7 +32,7 @@ def bone_siblings(obj, bone):
"""
parent = obj.data.bones[bone].parent
- if parent == None:
+ if parent is None:
return []
bones = []