Cleanup: incorrect __contains__ comparison, long line

This commit is contained in:
Campbell Barton
2020-02-15 09:49:22 +11:00
parent 38e569cb1f
commit b1f40955d9
2 changed files with 7 additions and 2 deletions

View File

@@ -530,7 +530,12 @@ class NODE_PT_active_node_properties(Panel):
layout.label(text="Inputs:")
for socket in value_inputs:
row = layout.row()
socket.draw(context, row, node, iface_(socket.label if socket.label else socket.name, socket.bl_rna.translation_context))
socket.draw(
context,
row,
node,
iface_(socket.label if socket.label else socket.name, socket.bl_rna.translation_context),
)
class NODE_PT_texture_mapping(Panel):

View File

@@ -842,7 +842,7 @@ class SEQUENCER_MT_context_menu(Menu):
}:
layout.separator()
layout.menu("SEQUENCER_MT_strip_effect")
elif strip_type in 'MOVIE':
elif strip_type == 'MOVIE':
layout.separator()
layout.menu("SEQUENCER_MT_strip_movie")
elif strip_type == 'IMAGE':