Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-04-10 21:05:02 +0000
committerGitHub <noreply@github.com>2021-04-10 21:05:02 +0000
commit6fb0f006d0bf93a8436fd85d3f209a0603b3dd1f (patch)
treec4ac739698b09b7c05975097d8313e2fdebde4e9
parentb344c63f0447e2160fd356c51083e1d31638b93f (diff)
parenta7b01aa29e38a2faf88f04b7df7dcb4ee8545d90 (diff)
Merge pull request #272 from dylanmtaylor/partition-size
Show size in partition string representation
-rw-r--r--archinstall/lib/disk.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index 1a2dc4dc..bada4076 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -199,9 +199,9 @@ class Partition():
mount_repr = f", rel_mountpoint={self.target_mountpoint}"
if self._encrypted:
- return f'Partition(path={self.path}, real_device={self.real_device}, fs={self.filesystem}{mount_repr})'
+ return f'Partition(path={self.path}, size={self.size}, real_device={self.real_device}, fs={self.filesystem}{mount_repr})'
else:
- return f'Partition(path={self.path}, fs={self.filesystem}{mount_repr})'
+ return f'Partition(path={self.path}, size={self.size}, fs={self.filesystem}{mount_repr})'
@property
def uuid(self) -> str: