[Bf-blender-cvs] [08dbd3bc7fd] master: Cleanup: run autopep8 on release/scripts/modules/
Campbell Barton
noreply at git.blender.org
Wed Apr 20 07:13:01 CEST 2022
Commit: 08dbd3bc7fd3bfd0b38bf15039c4561e7e21f7b9
Author: Campbell Barton
Date: Wed Apr 20 15:12:10 2022 +1000
Branches: master
https://developer.blender.org/rB08dbd3bc7fd3bfd0b38bf15039c4561e7e21f7b9
Cleanup: run autopep8 on release/scripts/modules/
===================================================================
M release/scripts/modules/bl_i18n_utils/utils_cli.py
M release/scripts/modules/rna_prop_ui.py
===================================================================
diff --git a/release/scripts/modules/bl_i18n_utils/utils_cli.py b/release/scripts/modules/bl_i18n_utils/utils_cli.py
index 7bab21ec05f..37fb1aa4dea 100644
--- a/release/scripts/modules/bl_i18n_utils/utils_cli.py
+++ b/release/scripts/modules/bl_i18n_utils/utils_cli.py
@@ -61,7 +61,7 @@ def language_menu(args, settings):
po_to_uid = {os.path.basename(po_path_branch): uid
for can_use, uid, _num_id, _name, _isocode, po_path_branch
- in utils_i18n.list_po_dir(settings.BRANCHES_DIR, settings)
+ in utils_i18n.list_po_dir(settings.BRANCHES_DIR, settings)
if can_use}
for po_dir in os.listdir(settings.BRANCHES_DIR):
po_dir = os.path.join(settings.BRANCHES_DIR, po_dir)
diff --git a/release/scripts/modules/rna_prop_ui.py b/release/scripts/modules/rna_prop_ui.py
index 002b6e08290..a6842dc0005 100644
--- a/release/scripts/modules/rna_prop_ui.py
+++ b/release/scripts/modules/rna_prop_ui.py
@@ -204,6 +204,7 @@ def draw(layout, context, context_member, property_type, *, use_edit=True):
# Add some spacing, so the right side of the buttons line up with layouts with decorators.
operator_row.label(text="", icon='BLANK1')
+
class PropertyPanel:
"""
The subclass should have its own poll function
More information about the Bf-blender-cvs
mailing list