Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-12-06 17:09:59 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-12-06 17:09:59 +0100
commita0c9e58c822448fe69ca7bcc1e36ecb48dfbc964 (patch)
treef32c17130da8ed35a73fdd54b1b197bea8d1f494 /archinstall
parent94581b706a7213510a2a127588f860ca36481a59 (diff)
More debugging
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/__main__.py2
-rw-r--r--archinstall/lib/profiles.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/__main__.py b/archinstall/__main__.py
index 5d620c10..e8843ae5 100644
--- a/archinstall/__main__.py
+++ b/archinstall/__main__.py
@@ -13,7 +13,7 @@ def run_as_a_module():
"""
# Add another path for finding profiles, so that list_profiles() in Script() can find guided.py, unattended.py etc.
- print(id(archinstall.storage), archinstall.storage)
+ print('ID in module:', id(archinstall.storage), archinstall.storage)
archinstall.storage['PROFILE_PATH'].append(os.path.abspath(f'{os.path.dirname(__file__)}/examples'))
if len(sys.argv) == 1:
diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py
index 82d0694a..643c1e77 100644
--- a/archinstall/lib/profiles.py
+++ b/archinstall/lib/profiles.py
@@ -22,7 +22,7 @@ def list_profiles(filter_irrelevant_macs=True, subpath=''):
cache = {}
# Grab all local profiles found in PROFILE_PATH
- print(id(storage), storage)
+ print('ID in profiles:', id(storage), storage)
for PATH_ITEM in storage['PROFILE_PATH']:
for root, folders, files in os.walk(os.path.abspath(os.path.expanduser(PATH_ITEM+subpath))):
for file in files: