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:
-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