Skip to content

Commit

Permalink
made linter happy and fixed backend workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMrSheldon committed Aug 30, 2024
1 parent d8025f6 commit a72d806
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install TIRA Python Client from Repo
working-directory: ${{github.workspace}}/python-client
run: |
# Install tira from the repository since the pip version may not be up-to-date enough.
# The install musst be editable (-e) since importing from tira fails otherwise
pip3 install -e .[dev,test]
- name: Install dependencies
working-directory: ${{github.workspace}}/application
run: |
Expand Down
2 changes: 1 addition & 1 deletion application/src/tira/data/HybridDatabase.py
Original file line number Diff line number Diff line change
Expand Up @@ -1568,7 +1568,7 @@ def add_vm(self, vm_id, user_name, initial_user_password, ip, host, ssh, rdp):
vm_id=vm_id, user_password=initial_user_password, roles="user", host=host, ip=ip, ssh=ssh, rdp=rdp
)
except IntegrityError as e:
logger.exception(f"Failed to add new vm {vm_id} with ",exc_info= e)
logger.exception(f"Failed to add new vm {vm_id} with ", exc_info=e)
raise TiraModelIntegrityError(e)
else:
raise TiraModelWriteError(f"Failed to write VM {vm_id}")
Expand Down

0 comments on commit a72d806

Please sign in to comment.