Fix duplicated assignments

This commit is contained in:
Andrej730
2025-07-07 12:52:59 +05:00
parent acb9953ce3
commit 4fda916c2f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ class IfcGit:
@classmethod @classmethod
def get_commits_list(cls, path_ifc: str, lookup: dict[str, Any]) -> None: def get_commits_list(cls, path_ifc: str, lookup: dict[str, Any]) -> None:
props = props = cls.get_ifcgit_props() props = cls.get_ifcgit_props()
repo = cls.repo_from_path(path_ifc) repo = cls.repo_from_path(path_ifc)
commits = list( commits = list(
git.objects.commit.Commit.iter_items( git.objects.commit.Commit.iter_items(
+1 -1
View File
@@ -72,7 +72,7 @@ class TestEnableEditing(NewFile):
class TestEnableEditingStyles(NewFile): class TestEnableEditingStyles(NewFile):
def test_run(self): def test_run(self):
props = props = tool.Style.get_style_props() props = tool.Style.get_style_props()
props.is_editing = False props.is_editing = False
subject.enable_editing_styles() subject.enable_editing_styles()
assert props.is_editing is True assert props.is_editing is True