Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-03-14 13:54:01 +0100
committerAnton Hvornum <anton@hvornum.se>2021-03-14 13:54:01 +0100
commit7ac68b2436b3a542d8004b26defb89ebb2905fa9 (patch)
tree63ae45379c2608eb5100551f9570fadb468b7568 /examples
parent1c6d70571481e30651f62f216fcc9653e03c9c62 (diff)
Removed redundant error handling as well as added some more debug logs.
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 9339f969..74d413aa 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -305,8 +305,8 @@ def perform_installation(device, boot_partition, language, mirrors):
if archinstall.arguments.get('packages', None) and archinstall.arguments.get('packages', None)[0] != '':
installation.add_additional_packages(archinstall.arguments.get('packages', None))
- if archinstall.arguments.get('profile', None) and len(profile := archinstall.arguments.get('profile').strip()):
- installation.install_profile(profile)
+ if archinstall.arguments.get('profile', None):
+ installation.install_profile(archinstall.arguments.get('profile', None))
if archinstall.arguments.get('users', None):
for user in archinstall.arguments.get('users'):