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 12:12:10 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-12-06 12:12:10 +0100
commit5a07b22606a34e851a9465c50efafba2e6f7fec3 (patch)
treebfe19a61b39841ac57e7e47c0df65ba895927a64 /archinstall
parent1edb8f6f7224d7d715ce622266e9b5fdc8da3da2 (diff)
Debugging
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/lib/profiles.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py
index c2aa2aa2..cd408d52 100644
--- a/archinstall/lib/profiles.py
+++ b/archinstall/lib/profiles.py
@@ -23,6 +23,9 @@ def list_profiles(filter_irrelevant_macs=True, subpath=''):
cache = {}
# Grab all local profiles found in PROFILE_PATH
for PATH_ITEM in storage['PROFILE_PATH']:
+ import time
+ print('Walking:', os.path.abspath(os.path.expanduser(PATH_ITEM+subpath)))
+ time.sleep(10)
for root, folders, files in os.walk(os.path.abspath(os.path.expanduser(PATH_ITEM+subpath))):
for file in files:
if os.path.splitext(file)[1] == '.py':
@@ -178,8 +181,8 @@ class Application(Profile):
if os.path.isfile(self.profile):
return os.path.basename(self.profile)
- raise ProfileNotFound(f"File {self.profile} does not exist in {examples}")
+ raise ProfileNotFound(f"Application file {self.profile} does not exist in {examples}")
elif parsed_url.scheme in ('https', 'http'):
return self.localize_path(self.profile)
else:
- raise ProfileNotFound(f"Cannot handle scheme {parsed_url.scheme}") \ No newline at end of file
+ raise ProfileNotFound(f"Application cannot handle scheme {parsed_url.scheme}") \ No newline at end of file