Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2019-04-11 19:52:50 +0200
committerAnton Hvornum <anton.feeds@gmail.com>2019-04-11 19:52:50 +0200
commit6e3e94d284c14fe9235d83cf1347e6e16b43be69 (patch)
tree49ea82aca4b1ce8b437c91a74539448fd13a9b3b
parent58b9442569ca349cdd92e1ddf720e0ac7847aa9a (diff)
Failed to convert one more iterator
-rw-r--r--archinstall.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall.py b/archinstall.py
index dfe44133..11b2e025 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -231,8 +231,8 @@ def device_state(name):
def grab_partitions(dev):
drive_name = os.path.basename(dev)
parts = oDict()
- o = sys_command('lsblk -o name -J -b {dev}'.format(dev=dev)).exec()
- if b'not a block device' in b''.join(o):
+ o = b''.join(sys_command('lsblk -o name -J -b {dev}'.format(dev=dev)).exec())
+ if b'not a block device' in o:
## TODO: Replace o = sys_command() with code, o = sys_command()
## and make sys_command() return the exit-code, way safer than checking output strings :P
return {}