X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/blobdiff_plain/1a735846d959250f520e53293b890efdd9874831..98347a2350b5fba35c0f87a54ae3ecfe04c92d92:/files/pc/tasks.py diff --git a/files/pc/tasks.py b/files/pc/tasks.py index bbc13e8..b243ecc 100644 --- a/files/pc/tasks.py +++ b/files/pc/tasks.py @@ -26,7 +26,8 @@ for url in expect_URLs: key = f'URL_{url.upper()}' result = os.environ.get(key) if not result: - raise ValueError(f'Missing expected {key} in environment.') + print(f'Missing expected {key} in environment.') + # raise ValueError(f'Missing expected {key} in environment.') URLS[url] = result @@ -35,7 +36,7 @@ for path in expect_PATHs: key = f'PATH_{path.upper()}' result = os.environ.get(key) if not result: - raise ValueError(f'Missing expected {key} in environment.') + print(f'Missing expected {key} in environment.') PATHS[path] = result @@ -176,3 +177,6 @@ def get_drive_info(c): def podcasts(c): folder(c, PATHS['podcasts']) +@task +def matrix(c): + c.run('gomuks')