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 <campbell@blender.org>2022-04-20 08:12:10 +0300
committerCampbell Barton <campbell@blender.org>2022-04-20 08:12:10 +0300
commit08dbd3bc7fd3bfd0b38bf15039c4561e7e21f7b9 (patch)
treee4bb57e6cb64667b49e91d3dccac97f94ecdab38
parent38d8b088e76bfa0058b6e1ba4e56771695e8bf85 (diff)
Cleanup: run autopep8 on release/scripts/modules/
-rw-r--r--release/scripts/modules/bl_i18n_utils/utils_cli.py2
-rw-r--r--release/scripts/modules/rna_prop_ui.py1
2 files changed, 2 insertions, 1 deletions
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