diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index b6d2957e..547cb508 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -55,7 +55,7 @@ jobs: pytest --cov-report=xml --cov=risuclient --cov=maguiclient - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3.1.6 + uses: codecov/codecov-action@v4.0.0 with: token: ${{ secrets.CODECOV_TOKEN }} file: ./coverage.xml diff --git a/risuclient/shell.py b/risuclient/shell.py index 8e75b974..fe7f73ef 100755 --- a/risuclient/shell.py +++ b/risuclient/shell.py @@ -4,6 +4,7 @@ # Description: Runs set of scripts against system or snapshot to # detect common pitfalls in configuration/status # +# Copyright (C) 2024 # Copyright (C) 2017, 2018 Robin Černín # Copyright (C) 2017 Lars Kellogg-Stedman # Copyright (C) 2024 @@ -29,14 +30,13 @@ import datetime import gettext import hashlib +import imp import json import logging import os import re import tempfile -import imp - # Do not require everyone to use requests try: import requests