Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-02-07 18:45:25 +0100
committerAnton Hvornum <anton@hvornum.se>2021-02-07 18:45:25 +0100
commit9db589f10a1ba5e96f2343c25cba8fff32e0332c (patch)
tree2ad66619aa8d81837511a43f06051a03439ddbfd /archinstall/lib
parent47649074b8e182505b9def828b8cc344c96a3cb0 (diff)
Added a default no-info value to BlockDevice()
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/disk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index 7b3a9b66..6c7e63ba 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -14,7 +14,7 @@ GPT = 0b00000001
#libc.mount.argtypes = (ctypes.c_char_p, ctypes.c_char_p, ctypes.c_char_p, ctypes.c_ulong, ctypes.c_char_p)
class BlockDevice():
- def __init__(self, path, info):
+ def __init__(self, path, info={}):
self.path = path
self.info = info
self.part_cache = OrderedDict()