refactor: improve code formatting and readability in service and update scripts
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 17s
Nix Format Check / check-format (push) Successful in 58s
Python Lint Check / check-python (push) Failing after 14s

This commit is contained in:
2025-03-24 18:28:06 +01:00
parent ca43384fb5
commit 243eb1688d
2 changed files with 29 additions and 10 deletions

View File

@@ -59,7 +59,9 @@ def check_git_repository():
# Fetch the latest changes
status, output = run_command(["git", "fetch"], shell=False)
if not status:
printfe("yellow", f"Warning: Failed to fetch changes from git repository: {output}")
printfe(
"yellow", f"Warning: Failed to fetch changes from git repository: {output}"
)
printfe("yellow", "Continuing update process without repository check...")
os.chdir(current_dir)
return True