Skip to content

Commit

Permalink
Revert change because of type
Browse files Browse the repository at this point in the history
  • Loading branch information
rowleya committed Nov 12, 2024
1 parent eb58496 commit 33a502f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pacman/model/resources/shared_sdram.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ def short_str(self) -> str:
per_core = f"per-core: {self._per_core.short_str}"
else:
per_core = ""
shared = None
shared = ""
for key, sdram in self._shared.items():
if shared is None:
if shared == "":
shared = f" shared: {key}: {sdram.short_str}"
else:
shared += f", {key}: {sdram.short_str}"
Expand Down

0 comments on commit 33a502f

Please sign in to comment.