1
0
Fork 0

Adding upstream version 0.8.1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-05 13:43:43 +01:00
parent b16cc97368
commit 55e5e7ac79
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
49 changed files with 4592 additions and 0 deletions

13
eos_downloader/tools.py Normal file
View file

@ -0,0 +1,13 @@
#!/usr/bin/python
# coding: utf-8 -*-
"""Module for tools related to ardl"""
def exc_to_str(exception: Exception) -> str:
"""
Helper function to parse Exceptions
"""
return (
f"{type(exception).__name__}{f' ({str(exception)})' if str(exception) else ''}"
)