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>2020-02-15 01:49:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-02-15 02:40:41 +0300
commitb1f40955d9a9c205581bd8fff3ed04320dbe95da (patch)
tree0bdf3d6cef725ddcabdecc1801abf14c077f0d36 /release
parent38e569cb1fdcf75645344a487b53e3d514153a2f (diff)
Cleanup: incorrect __contains__ comparison, long line
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_node.py7
-rw-r--r--release/scripts/startup/bl_ui/space_sequencer.py2
2 files changed, 7 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_node.py b/release/scripts/startup/bl_ui/space_node.py
index 55ec8306e16..8fe758b8bf6 100644
--- a/release/scripts/startup/bl_ui/space_node.py
+++ b/release/scripts/startup/bl_ui/space_node.py
@@ -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):
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index af0c23e7892..f05a0e18eed 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -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':