Skip to content

Commit e563a1e

Browse files
committed
Remove stale noinspection PyProtectedMember
1 parent 48d4052 commit e563a1e

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

pycheribuild/projects/disk_image.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ def _default_disk_image_name(_: CheriConfig, directory: Path, project: "BuildDis
120120

121121

122122
def _default_disk_image_hostname(prefix: str) -> "ComputedDefaultValue[str]":
123-
# noinspection PyProtectedMember
124123
return ComputedDefaultValue(
125124
function=lambda conf, proj: prefix + proj.build_configuration_suffix(), as_string=prefix + "-<ARCHITECTURE>"
126125
)
@@ -1366,7 +1365,6 @@ def prepare_rootfs(self):
13661365

13671366
def make_rootfs_image(self, rootfs_img: Path):
13681367
# update cheribsdbox link in case we stripped it:
1369-
# noinspection PyProtectedMember
13701368
cheribsdbox_entry = self.mtree.get("./bin/cheribsdbox")
13711369
if not cheribsdbox_entry:
13721370
self.fatal("Could not find cheribsdbox entry in mtree file!")
@@ -1383,7 +1381,6 @@ def make_rootfs_image(self, rootfs_img: Path):
13831381
"This should have been created by cheribuild but something must have gone wrong"
13841382
)
13851383
print("Relocating mtree path ./bin/cheribsdbox to use", cheribsdbox_path)
1386-
# noinspection PyProtectedMember
13871384
for i in self.mtree.root.values():
13881385
if i.attributes.get("contents", None) == "./bin/cheribsdbox":
13891386
i.attributes["contents"] = cheribsdbox_path

pycheribuild/projects/project.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,6 @@ def can_pass_jflag(self):
380380
return self.kind != MakeCommandKind.CustomMakeTool
381381

382382

383-
# noinspection PyProtectedMember
384383
def _default_install_dir_handler(_: CheriConfig, project: "Project") -> Path:
385384
return project.target_info.default_install_dir(project.get_default_install_dir_kind())
386385

pycheribuild/projects/run_qemu.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,6 @@ def __init__(
724724
def setup(self) -> None:
725725
super().setup()
726726
if self.freebsd_class is None and self.disk_image_class is not None:
727-
# noinspection PyProtectedMember
728727
disk_image_instance = self.disk_image_class.get_instance(self)
729728
self.disk_image_project = disk_image_instance
730729
self.kernel_project = disk_image_instance.source_project

0 commit comments

Comments
 (0)