diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/rna_dump.py | 2 | ||||
-rw-r--r-- | source/tests/bl_mesh_modifiers.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/rna_dump.py b/source/blender/python/rna_dump.py index df902886f30..489f011e693 100644 --- a/source/blender/python/rna_dump.py +++ b/source/blender/python/rna_dump.py @@ -79,7 +79,7 @@ def seek(r, txt, recurs): except: keys = None - if keys != None: + if keys is not None: if PRINT_DATA: print(txt + '.keys() - ' + str(r.keys())) diff --git a/source/tests/bl_mesh_modifiers.py b/source/tests/bl_mesh_modifiers.py index 917ccbc0d24..0495f5d9f98 100644 --- a/source/tests/bl_mesh_modifiers.py +++ b/source/tests/bl_mesh_modifiers.py @@ -74,7 +74,7 @@ def render_gl(context, filepath, shade): def render_gl_all_modes(context, obj, filepath=""): - assert(obj != None) + assert(obj is not None) assert(filepath != "") scene = context.scene |