diff options
Diffstat (limited to 'release/scripts/startup/bl_operators/wm.py')
-rw-r--r-- | release/scripts/startup/bl_operators/wm.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py index cbb5a63b754..f8cb57d638a 100644 --- a/release/scripts/startup/bl_operators/wm.py +++ b/release/scripts/startup/bl_operators/wm.py @@ -178,10 +178,10 @@ def context_path_decompose(data_path): prop_item = "".join(path_split[i + 1:]) if base_path: - assert(base_path.startswith(".")) + assert base_path.startswith(".") base_path = base_path[1:] if prop_attr: - assert(prop_attr.startswith(".")) + assert prop_attr.startswith(".") prop_attr = prop_attr[1:] else: # If there are no properties, everything is an item. @@ -2730,7 +2730,7 @@ class WM_OT_batch_rename(Operator): elif method == 'SUFFIX': name = name + text else: - assert(0) + assert 0 elif ty == 'STRIP': chars = action.strip_chars @@ -2775,9 +2775,9 @@ class WM_OT_batch_rename(Operator): elif method == 'TITLE': name = name.title() else: - assert(0) + assert 0 else: - assert(0) + assert 0 return name def _data_update(self, context): |